@Test public void testValueInvalid() { tested.setValue(VERSION_INVALID); Set<ConstraintViolation<Version>> violations = this.validator.validate(tested); assertEquals(1, violations.size()); }
@Override public void setValue(final String value) { this.value = value; }
Version implements BaseVersion { @Override public void setValue(final String value) { this.value = value; } }
Version implements BaseVersion { @Override public void setValue(final String value) { this.value = value; } Version();  Version(final String value); }
Version implements BaseVersion { @Override public void setValue(final String value) { this.value = value; } Version();  Version(final String value); @Override String getValue(); @Override void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o); }
Version implements BaseVersion { @Override public void setValue(final String value) { this.value = value; } Version();  Version(final String value); @Override String getValue(); @Override void setValue(final String value); @Override int hashCode(); @Override boolean equals(Object o);  }