@Ignore("EID is not passed via UI anymore")
@Test
public void testMap_Given_EnterpriseIdentifier() {

	// Arrange
	final String username = "username";
	PatientProfileDto patientDto = mock(PatientProfileDto.class);
	when(patientDto.getUsername()).thenReturn(username);
	Patient patient = new Patient();
	when(patientRepository.findByUsername(username)).thenReturn(patient);
	final String eid = "eid";
	when(patientDto.getEnterpriseIdentifier()).thenReturn(eid);
	// Act
	Patient result = sut.map(patientDto);
	// Assert
	assertEquals(patient, result);
	assertEquals(eid, result.getEnterpriseIdentifier());
}