public void testSave() {
String firstName = "Jack";
String lastName = "Johnson";
String companyName = "Spring Pizza";
Person person = createProfessional(firstName, lastName, companyName, ADDR);
// get PK of first address
Integer addressId = person.getAddresses().iterator().next().getId();
// test saved person
testPerson(person,
firstName, lastName,
EXPECTED_ADDRESS_COUNT, addressId, ADDR, CITY, STATE, ZIP_POSTAL,
true, companyName);
person = professionalRepository.findOne(person.getId());
// test retrieved person just saved
testPerson(person,
firstName, lastName,
EXPECTED_ADDRESS_COUNT, addressId, ADDR, CITY, STATE, ZIP_POSTAL,