convert hamcrest syntax to assertj syntax