template.setStatus("TEST_K");
template.setAddresses(new ArrayList<Address>());
template.setOrganizations(new ArrayList<Organization>());
template.setProperties(new ArrayList<PersonProperty>());
JpaPerson jpaTemplate = converter.convert(template);
assertThat(jpaTemplate, is(not(sameInstance(template))));
assertThat(jpaTemplate, is(instanceOf(JpaPerson.class)));
assertThat(jpaTemplate.getUsername(), is(equalTo(template.getUsername())));
assertThat(jpaTemplate.getEmail(), is(equalTo(template.getEmail())));
assertThat(jpaTemplate.getDisplayName(), is(equalTo(template.getDisplayName())));
assertThat(jpaTemplate.getUsername(), is(equalTo(template.getUsername())));
assertThat(jpaTemplate.getFamilyName(), is(equalTo(template.getFamilyName())));
assertThat(jpaTemplate.getGivenName(), is(equalTo(template.getGivenName())));
assertThat(jpaTemplate.getHonorificPrefix(), is(equalTo(template.getHonorificPrefix())));
assertThat(jpaTemplate.getHonorificSuffix(), is(equalTo(template.getHonorificSuffix())));
assertThat(jpaTemplate.getPreferredName(), is(equalTo(template.getPreferredName())));
assertThat(jpaTemplate.getAboutMe(), is(equalTo(template.getAboutMe())));
assertThat(jpaTemplate.getStatus(), is(equalTo(template.getStatus())));
assertThat(jpaTemplate.getAddresses(), is(equalTo(template.getAddresses())));
assertThat(jpaTemplate.getOrganizations(), is(equalTo(template.getOrganizations())));
assertThat(jpaTemplate.getProperties(), is(equalTo(template.getProperties())));
}