@Test public void testInvalidSpecificationMessage(){ IntValidator.GreaterThan greaterThan = new IntValidator.GreaterThan(4); assertEquals("THIS VALIDATION IS ALWAYS VALID", greaterThan.getInvalidSpecificationMessage()); }
@Override public String getInvalidSpecificationMessage() { return "THIS VALIDATION IS ALWAYS VALID"; }
IntValidator implements Validator<Integer> { @Override public String getInvalidSpecificationMessage() { return "THIS VALIDATION IS ALWAYS VALID"; } }
IntValidator implements Validator<Integer> { @Override public String getInvalidSpecificationMessage() { return "THIS VALIDATION IS ALWAYS VALID"; }  }
IntValidator implements Validator<Integer> { @Override public String getInvalidSpecificationMessage() { return "THIS VALIDATION IS ALWAYS VALID"; }  @Override boolean isSpecificationValid(); @Override String getInvalidSpecificationMessage(); }
IntValidator implements Validator<Integer> { @Override public String getInvalidSpecificationMessage() { return "THIS VALIDATION IS ALWAYS VALID"; }  @Override boolean isSpecificationValid(); @Override String getInvalidSpecificationMessage();  }