adapt code for assertj-core 1.5.0 instead of latest 1.6.0 SNAPSHOT