IsBlankString extends TypeSafeMatcher<String> { public static Matcher<String> blankString() { return BLANK_INSTANCE; } private  IsBlankString(); @Override boolean matchesSafely(String item); @Override void describeTo(Description description); static Matcher<String> blankString(); static Matcher<String> blankOrNullString();  }
@Test public void copesWithNullsAndUnknownTypes() { Matcher<String> matcher = blankString(); assertNullSafe(matcher); assertUnknownTypeSafe(matcher); }