@Test
public void testGenerateMrn_Throws_UniqueValueGeneratorException() {

	// Arrange
	final String prefixMock = "PREFIXMOCK";
	ReflectionTestUtils.setField(sut, "prefix", prefixMock);
	Patient patientMock = mock(Patient.class);
	when(patientRepository.findAllByMedicalRecordNumber(anyString()))
			.thenReturn(Arrays.asList(patientMock));
	thrown.expect(UniqueValueGeneratorException.class);
	// Act
	sut.generateMrn();
}