Pertanyaan yang diberi tag hamcrest

114
Hamcrest membandingkan koleksi

Saya mencoba membandingkan 2 daftar: assertThat(actual.getList(), is(Matchers.containsInAnyOrder(expectedList))); Tapi ide java: no suitable method found for assertThat(java.util.List<Agent>,org.hamcrest.Matcher<java.lang.Iterable<? extends model.Agents>>) method...