@Test public void generatesIsPrefixInDescription() { assertDescription("is <true>", is(equalTo(true))); assertDescription("is \"A\"", is("A")); }
public Is(Matcher<T> matcher) { this.matcher = matcher; }
Is extends BaseMatcher<T> { public Is(Matcher<T> matcher) { this.matcher = matcher; } }
Is extends BaseMatcher<T> { public Is(Matcher<T> matcher) { this.matcher = matcher; } Is(Matcher<T> matcher); }
Is extends BaseMatcher<T> { public Is(Matcher<T> matcher) { this.matcher = matcher; } Is(Matcher<T> matcher); @Override boolean matches(Object arg); @Override void describeTo(Description description); @Override void describeMismatch(Object item, Description mismatchDescription); static Matcher<T> is(Matcher<T> matcher); static Matcher<T> is(T value); static Matcher<T> isA(Class<?> type); }
Is extends BaseMatcher<T> { public Is(Matcher<T> matcher) { this.matcher = matcher; } Is(Matcher<T> matcher); @Override boolean matches(Object arg); @Override void describeTo(Description description); @Override void describeMismatch(Object item, Description mismatchDescription); static Matcher<T> is(Matcher<T> matcher); static Matcher<T> is(T value); static Matcher<T> isA(Class<?> type);  }