### Question:
IsCase implements BPMNProperty { public void setValue(final Boolean value) { this.value = value; } IsCase();  IsCase(final Boolean value); Boolean getValue(); void setValue(final Boolean value); @Override int hashCode(); @Override boolean equals(Object o);  }### Answer:
@Test public void testValueInvalid() { tested.setValue(CASE_INVALID); Set<ConstraintViolation<IsCase>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); }