### Question:
TAMConnector implements PoolableConnector, AuthenticateOp, CreateOp, SchemaOp, TestOp,
        DeleteOp, UpdateOp, SearchOp<String> { public void delete(final ObjectClass objClass, final Uid uid, final OperationOptions options) { final String method = "delete"; LOG.info("Entry {0}", method); boolean deleteFromRegistry = configuration.isDeleteFromRegistry(); if (objClass.is(ObjectClass.ACCOUNT_NAME)) { try { PDMessages msgs = new PDMessages(); LOG.info("PDUser.deleteUser(ctxt,{0},{1},msgs)", uid.getUidValue(), deleteFromRegistry); PDUser.deleteUser(ctxt, uid.getUidValue(), deleteFromRegistry, msgs); processMessages(method, msgs); } catch (PDException e) { convertPDExceptionToConnectorException(e); } catch (Exception e) { throw new ConnectorException(e); } } else if (objClass.is(ObjectClass.GROUP_NAME)) { try { PDMessages msgs = new PDMessages(); LOG.info("PDGroup.deleteGroup(ctxt,{0},{1},msgs)", uid.getUidValue(), deleteFromRegistry); PDGroup.deleteGroup(ctxt, uid.getUidValue(), deleteFromRegistry, msgs); processMessages(method, msgs); } catch (PDException e) { convertPDExceptionToConnectorException(e); } catch (Exception e) { throw new ConnectorException(e); } } else { LOG.error("Failed to delete: Unsupported objectClass={0}, id={1}", objClass, uid); } LOG.info("Exit {0}", method); }  Configuration getConfiguration(); void init(Configuration config); void dispose(); void checkAlive(); Uid create(final ObjectClass objClass, final Set<Attribute> attributes,
            final OperationOptions options); FilterTranslator<String> createFilterTranslator(ObjectClass objClass,
            OperationOptions options); void executeQuery(ObjectClass objClass, String query, ResultsHandler handler,
            OperationOptions options); void test(); Uid update(ObjectClass objClass, Uid uid, Set<Attribute> replaceAttributes,
            OperationOptions options); void delete(final ObjectClass objClass, final Uid uid, final OperationOptions options); Schema schema(); Uid authenticate(ObjectClass oc, String user, GuardedString gs, OperationOptions oo); static final String ATTR_REGISTRY_NAME; static final String ATTR_FIRST_NAME; static final String ATTR_LAST_NAME; static final String ATTR_SSO_USER; static final String ATTR_PASSWORD_POLICY; static final String ATTR_EXPIRE_PASSWORD; static final String ATTR_DELETE_FROM_REGISTRY; static final String ATTR_SYNC_GSO_CREDENTIALS; static final String ATTR_IMPORT_FROM_REGISTRY; static final String ATTR_GROUP_MEMBERS; static final String ATTR_GSO_WEB_CREDENTIALS; static final String ATTR_GSO_GROUP_CREDENTIALS; static final String TYPE_GSO_GROUP_RESOURCE; static final String TYPE_GSO_RESOURCE; static final String TOKEN_GSO_RESOURCE; }### Answer:
@Test(enabled = true, dependsOnMethods = { "testCreateUser", "testUpdateUser" }) public void testDeleteUser() { Uid uid = new Uid("AAA0001"); OperationOptions oo = null; facade.delete(ObjectClass.ACCOUNT, uid, oo); }
@Test(enabled = true, dependsOnMethods = { "testDeleteUser" }) public void testDeleteGroup() { Uid uid = new Uid("AAB0001"); OperationOptions oo = null; facade.delete(ObjectClass.GROUP, uid, oo); }