@Test
public void testGenerateMrn() {

	// Arrange
	final String prefixMock = "PREFIXMOCK";
	ReflectionTestUtils.setField(sut, "prefix", prefixMock);
	when(patientRepository.findAllByMedicalRecordNumber(anyString()))
			.thenReturn(new ArrayList<Patient>(1));
	// Act
	String mrn = sut.generateMrn();
	// Assert
	assertTrue(StringUtils.hasText(mrn));
	assertTrue(mrn.startsWith(prefixMock));
}