Hey,
I was wondering if anyone knew of a way to check if a List is empty using assertThat()
and Matchers
?
Best way I could see just use JUnit:
assertFalse(list.isEmpty());
But I was hoping that there was some way to do this in Hamcrest.
Thanks!