@Test public void copesWithNullsAndUnknownTypes() { Matcher<String> matcher = allOf(equalTo("irrelevant"), startsWith("irr")); assertNullSafe(matcher); assertUnknownTypeSafe(matcher); }
@SafeVarargs public AllOf(Matcher<? super T> ... matchers) { this(Arrays.asList(matchers)); }
AllOf extends DiagnosingMatcher<T> { @SafeVarargs public AllOf(Matcher<? super T> ... matchers) { this(Arrays.asList(matchers)); } }
AllOf extends DiagnosingMatcher<T> { @SafeVarargs public AllOf(Matcher<? super T> ... matchers) { this(Arrays.asList(matchers)); } @SafeVarargs  AllOf(Matcher<? super T> ... matchers);  AllOf(Iterable<Matcher<? super T>> matchers); }
AllOf extends DiagnosingMatcher<T> { @SafeVarargs public AllOf(Matcher<? super T> ... matchers) { this(Arrays.asList(matchers)); } @SafeVarargs  AllOf(Matcher<? super T> ... matchers);  AllOf(Iterable<Matcher<? super T>> matchers); @Override boolean matches(Object o, Description mismatch); @Override void describeTo(Description description); static Matcher<T> allOf(Iterable<Matcher<? super T>> matchers); @SafeVarargs static Matcher<T> allOf(Matcher<? super T>... matchers); }
AllOf extends DiagnosingMatcher<T> { @SafeVarargs public AllOf(Matcher<? super T> ... matchers) { this(Arrays.asList(matchers)); } @SafeVarargs  AllOf(Matcher<? super T> ... matchers);  AllOf(Iterable<Matcher<? super T>> matchers); @Override boolean matches(Object o, Description mismatch); @Override void describeTo(Description description); static Matcher<T> allOf(Iterable<Matcher<? super T>> matchers); @SafeVarargs static Matcher<T> allOf(Matcher<? super T>... matchers);  }