@Test public void shouldReturnTrueWhenPatternAndValueStringsEqual() { StrictMatcher matcher = new StrictMatcher(); boolean matches = matcher.matches("A", "A", null); assertThat(matches).isTrue(); }
@Override public <T extends ValueHolder> boolean matches(String value, String pattern, Type<T> type) { if(!EngineUtil.hasText(value)) { return Star.SYMBOL.equals(pattern); } return pattern.equals(value); }
StrictMatcher implements Matcher { @Override public <T extends ValueHolder> boolean matches(String value, String pattern, Type<T> type) { if(!EngineUtil.hasText(value)) { return Star.SYMBOL.equals(pattern); } return pattern.equals(value); } }
StrictMatcher implements Matcher { @Override public <T extends ValueHolder> boolean matches(String value, String pattern, Type<T> type) { if(!EngineUtil.hasText(value)) { return Star.SYMBOL.equals(pattern); } return pattern.equals(value); }  }
StrictMatcher implements Matcher { @Override public <T extends ValueHolder> boolean matches(String value, String pattern, Type<T> type) { if(!EngineUtil.hasText(value)) { return Star.SYMBOL.equals(pattern); } return pattern.equals(value); }  @Override boolean matches(String value, String pattern, Type<T> type); }
StrictMatcher implements Matcher { @Override public <T extends ValueHolder> boolean matches(String value, String pattern, Type<T> type) { if(!EngineUtil.hasText(value)) { return Star.SYMBOL.equals(pattern); } return pattern.equals(value); }  @Override boolean matches(String value, String pattern, Type<T> type); static final String STRICT; }