Assert.assertThat(menu.findItem(R.id.menu_item1).getTitle()).isEqualTo("Select All");
when i use the above statement in my tests, i get "cannot resolve method assertThat(java.lang.CharSequence)". What might be the error? how can i solve it?
What should i import?
P.S: I have already imported this--> import static org.junit.Assert.*;
Blessings,
Fr Jeremy