I use the following code at the moment to assert on a boolean value, however the method org.hamcrest.Matchers.is() is deprecated.
boolean
org.hamcrest.Matchers.is()
asser
Have you tried equalTo(T)?
equalTo(T)
assertThat(someValue, equalTo(false));
I don't see that is(T) is deprecated - is(Class) is deprecated however.