@Test
public void synchronizeStudentMapping_MappingByEmail() {

    when(userMappingDaoMock.existsMappingForSapUserId(studentMock.getId())).thenReturn(false);
    when(studentMappingByMartikelNumberMock.tryToMap(studentMock)).thenReturn(null);
    when(mappingByEmailMock.tryToMap(studentMock)).thenReturn(identityMock);
    MappingResult result = studentMapperTestObject.synchronizeStudentMapping(studentMock);
    assertEquals("", MappingResult.NEW_MAPPING_BY_EMAIL, result);
}