Kesalahan: Metode AssertThat (t, pencocokan Super t>) di tipe matcherassert tidak berlaku untuk argumen (daftar , pencocokan >)
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
import static org.hamcrest.Matchers.equalTo;
boolean a;
boolean b;
// all statements test the same
assertThat(a, equalTo(b));
assertThat(a, is(equalTo(b)));
assertThat(a, is(b));
Hilarious Hare