private void setSaveable() { person.setFirstName("Mr."); person.setLastName("Anderson"); person.getContactMechanisms().put(ReportPerson.EMAIL, "*****@*****.**"); }
public void testSaveableWithoutFirstName() throws Exception { setSaveable(); person.setFirstName(null); assertFalse(person.isSavable()); }