hamkrest
hamkrest copied to clipboard
Question: have I missed something fundamental?
I struggled to write an assertion without creating custom matchers to assert on a nullable boolean, this is what i ended up with but I don't think it reads very well;
assertThat(capturedValue, false::equals)
Do you have any advice?
i see i totally missed com.natpryce.hamkrest.CoreMatchers#equalTo