@Test
public void testFilterOwnedLeafs_FoundNothingTypeLeafNotOwner() {

    List catalogEntries = new ArrayList();
    catalogEntries.add(commonTestCatalogEntryMock);
    SecurityGroup ownerGroup = commonTestCatalogEntryMock.getOwnerGroup();
    when(securityManagerMock.isIdentityInSecurityGroup(myIdentity, ownerGroup)).thenReturn(false);
    List filteredList = catalogService.filterOwnedLeafs(myIdentity, catalogEntries);
    assertNotNull("result could not be null", filteredList);
    assertTrue("Result list should be empty, type_leaf and not-owner must be filtered", filteredList.isEmpty());
}