@Test public void testStringWithWhitespaces () { ExactMatcher matcher = new ExactMatcher(); assertTrue(matcher.matches("hello kitty", "hello kitty")); }
@Override public boolean matches(String s1, String s2) { if (nullToBlank && s1 == null) s1 = ""; if (nullToBlank && s2 == null) s2 = ""; return s1.equals(s2); }
ExactMatcher implements Matcher { @Override public boolean matches(String s1, String s2) { if (nullToBlank && s1 == null) s1 = ""; if (nullToBlank && s2 == null) s2 = ""; return s1.equals(s2); } }
ExactMatcher implements Matcher { @Override public boolean matches(String s1, String s2) { if (nullToBlank && s1 == null) s1 = ""; if (nullToBlank && s2 == null) s2 = ""; return s1.equals(s2); }  }
ExactMatcher implements Matcher { @Override public boolean matches(String s1, String s2) { if (nullToBlank && s1 == null) s1 = ""; if (nullToBlank && s2 == null) s2 = ""; return s1.equals(s2); }  @Override int getCost(); @Override boolean matches(String s1, String s2); @Override boolean isExact(); @Override String getExecutionReport(); boolean isNullToBlank(); void setNullToBlank(boolean nullToBlank); }
ExactMatcher implements Matcher { @Override public boolean matches(String s1, String s2) { if (nullToBlank && s1 == null) s1 = ""; if (nullToBlank && s2 == null) s2 = ""; return s1.equals(s2); }  @Override int getCost(); @Override boolean matches(String s1, String s2); @Override boolean isExact(); @Override String getExecutionReport(); boolean isNullToBlank(); void setNullToBlank(boolean nullToBlank); static int COST; }