The method org.hamcrest.CoreMatchers.is() deprecated.
The doc says to use - org.hamcrest.CoreMatchers.isA() instead.
But isA() seems to serve a different case all together.
Ok. What ever, coming to my problem. Earlier I was using is() as below
// might be i should not be using it like this, but it works.
assertThat(actualRes, is(true));
Now i can not use that same with isA(). It throws compilation error
not applicable for arguments(boolean)
I understand what isA() does. What I want to know is, given is() is deprecated, what should I be using as replacement for assertThat(actualRes, is(true))?