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