@Test
public void tryToMap_foundNoMapping() {

    List<Identity> emptyResults = new ArrayList<Identity>();
    when(
            baseSecurityMock.getVisibleIdentitiesByPowerSearch(anyString(), anyMap(), anyBoolean(), any(SecurityGroup[].class),
                    any(PermissionOnResourceable[].class), any(String[].class), any(Date.class), any(Date.class))).thenReturn(emptyResults);
    Identity mappedIdentity = lecturerMappingByPersonalNumberTestObject.tryToMap(lecturerMock.getPersonalNr());
    assertNull("Must return null, when no mapping exists", mappedIdentity);
}