@Test public void shouldEvaluateGivenFloatingPointNumber() { String testTest = "12.34"; ComparisonResult comparisonResult = placeholderHandler.evaluate(testTest); assertThat(comparisonResult, equalTo(ComparisonResult.EQUAL)); }
@Override public ComparisonResult evaluate(String testText, String... param) { return testText != null && testText.trim().matches(NUMBER_PATTERN) ? EQUAL : DIFFERENT; }
IsNumberPlaceholderHandler implements PlaceholderHandler { @Override public ComparisonResult evaluate(String testText, String... param) { return testText != null && testText.trim().matches(NUMBER_PATTERN) ? EQUAL : DIFFERENT; } }
IsNumberPlaceholderHandler implements PlaceholderHandler { @Override public ComparisonResult evaluate(String testText, String... param) { return testText != null && testText.trim().matches(NUMBER_PATTERN) ? EQUAL : DIFFERENT; }  }
IsNumberPlaceholderHandler implements PlaceholderHandler { @Override public ComparisonResult evaluate(String testText, String... param) { return testText != null && testText.trim().matches(NUMBER_PATTERN) ? EQUAL : DIFFERENT; }  @Override String getKeyword(); @Override ComparisonResult evaluate(String testText, String... param); }
IsNumberPlaceholderHandler implements PlaceholderHandler { @Override public ComparisonResult evaluate(String testText, String... param) { return testText != null && testText.trim().matches(NUMBER_PATTERN) ? EQUAL : DIFFERENT; }  @Override String getKeyword(); @Override ComparisonResult evaluate(String testText, String... param);  }