@Test public void testDeleteGroup() throws Exception { LdapGroup g1 = Utils.createTestGroup(CN); try { if (HELPER.rmGroup(g1)) { LOG.log(Level.INFO, "deleted Group {0}", CN); } } catch (Exception ex) { LOG.log(Level.SEVERE, "setGroup fails", ex); } g1 = (LdapGroup) HELPER.getGroup(CN); assertTrue(g1.isEmpty()); }