@Test
public void testDeleteCatalogEntry_WithoutOwnerGroup() {

    when(commonTestCatalogEntryMock.getOwnerGroup()).thenReturn(null);
    catalogService.deleteCatalogEntry(commonTestCatalogEntryMock);
    verify(catalogDaoMock).deleteCatalogEntry(commonTestCatalogEntryMock);
    SecurityGroup ownerGroup = commonTestCatalogEntryMock.getOwnerGroup();
    verify(securityManagerMock, never()).deleteSecurityGroup(ownerGroup);
}