You can simply use
assertFalse(result.isEmpty());
Regarding your problem, it’s simply caused by the fact that you forgot to statically import the is() method from Hamcrest;
import static org.hamcrest.CoreMatchers.is;
You can simply use
assertFalse(result.isEmpty());
Regarding your problem, it’s simply caused by the fact that you forgot to statically import the is() method from Hamcrest;
import static org.hamcrest.CoreMatchers.is;