@Test
public void testDeleteGroupThrowException() {

    TestAuditLogger alogger = new TestAuditLogger();
    ZMSImpl zmsImpl = getZmsImpl(alogger);
    final String domainName = "DomainName1";
    final String groupName = "GroupName1";
    try {
        zmsImpl.deleteGroup(mockDomRsrcCtx,domainName, groupName, auditRef);
        fail("notfounderror not thrown.");
    } catch (ResourceException e) {
        assertEquals(e.getCode(), 404);
    }
}