IsEmptyIterable extends TypeSafeMatcher<Iterable<? extends E>> { @Override public void describeMismatchSafely(final Iterable<? extends E> actual, final Description mismatchDescription) { mismatchDescription.appendValueList("[", ", ", "]", actual); }  static Matcher<Iterable<? extends E>> empty(); @Override boolean matchesSafely(final Iterable<? extends E> actual); @Override void describeMismatchSafely(final Iterable<? extends E> actual, final Description mismatchDescription); @Override void describeTo(final Description description);  }
@Test public void testDescribeMismatchSafely() throws Exception { BaseMatcherTest.assertHasMismatchDescription("[<100>, <1>, <10>]", isEmptyIterableMatcher, createIterableWithElements(100, 1, 10)); }