use of org.openmrs.person.PersonMergeLog in project openmrs-core by openmrs.
the class PersonServiceTest method savePersonMergeLog_shouldSerializePersonMergeLogData.
/**
* @see PersonService#savePersonMergeLog(PersonMergeLog)
*/
@Test
public void savePersonMergeLog_shouldSerializePersonMergeLogData() throws Exception {
PersonMergeLog personMergeLog = getTestPersonMergeLog();
personMergeLog.setSerializedMergedData(null);
PersonMergeLog persisted = Context.getPersonService().savePersonMergeLog(personMergeLog);
Assert.assertNotNull("PatientMergeLogData has not been serialized", persisted.getSerializedMergedData());
}
Aggregations