assertions translated to use hamcrest matchers.