@Test public void copesWithNullsAndUnknownTypes() { Matcher<String> matcher = equalToIgnoringCase("irrelevant"); assertNullSafe(matcher); assertUnknownTypeSafe(matcher); }
public static Matcher<String> equalToIgnoringCase(String expectedString) { return new IsEqualIgnoringCase(expectedString); }
IsEqualIgnoringCase extends TypeSafeMatcher<String> { public static Matcher<String> equalToIgnoringCase(String expectedString) { return new IsEqualIgnoringCase(expectedString); } }
IsEqualIgnoringCase extends TypeSafeMatcher<String> { public static Matcher<String> equalToIgnoringCase(String expectedString) { return new IsEqualIgnoringCase(expectedString); } IsEqualIgnoringCase(String string); }
IsEqualIgnoringCase extends TypeSafeMatcher<String> { public static Matcher<String> equalToIgnoringCase(String expectedString) { return new IsEqualIgnoringCase(expectedString); } IsEqualIgnoringCase(String string); @Override boolean matchesSafely(String item); @Override void describeMismatchSafely(String item, Description mismatchDescription); @Override void describeTo(Description description); static Matcher<String> equalToIgnoringCase(String expectedString); }
IsEqualIgnoringCase extends TypeSafeMatcher<String> { public static Matcher<String> equalToIgnoringCase(String expectedString) { return new IsEqualIgnoringCase(expectedString); } IsEqualIgnoringCase(String string); @Override boolean matchesSafely(String item); @Override void describeMismatchSafely(String item, Description mismatchDescription); @Override void describeTo(Description description); static Matcher<String> equalToIgnoringCase(String expectedString);  }