Violation { public Object getInvalidValue() { return invalidValue; } Violation(String propertyName, Object invalidValue, String message, String code); String getMessage(); Object getInvalidValue(); String getPropertyName(); String getCode();  }
@Test public void getInvalidValue() throws Exception { assertEquals("Invalid value equals", INVALID_VALUE, violation.getInvalidValue()); }