@Test public void testValidateEmptyCode() { final PasswordChangeRequest pcr = new PasswordChangeRequest(); pcr.setCode(""); assertEquals(2, validator.validate(pcr).size()); }
public void setCode(final String code) { this.code = code; }
PasswordChangeRequest extends DefaultBaseEntity { public void setCode(final String code) { this.code = code; } }
PasswordChangeRequest extends DefaultBaseEntity { public void setCode(final String code) { this.code = code; }  }
PasswordChangeRequest extends DefaultBaseEntity { public void setCode(final String code) { this.code = code; }  UUID getUserId(); void setUser(final SecurityUser user); String getCode(); void setCode(final String code); }
PasswordChangeRequest extends DefaultBaseEntity { public void setCode(final String code) { this.code = code; }  UUID getUserId(); void setUser(final SecurityUser user); String getCode(); void setCode(final String code);  }