@Test
public void synchronizeStudentMapping_MappingByEmail() {

    when(userMappingDaoMock.existsMappingForSapUserId(lecturerMock.getPersonalNr())).thenReturn(false);
    when(lecturerMappingByPersonalNumberMock.tryToMap(lecturerMock.getPersonalNr())).thenReturn(null);
    when(mappingByEmailMock.tryToMap(lecturerMock)).thenReturn(identityMock);
    MappingResult result = lecturerMapperTestObject.synchronizeLecturerMapping(lecturerMock);
    assertEquals("", MappingResult.NEW_MAPPING_BY_EMAIL, result);
}