// all systems are good
Assert.assertNotNull(ldapManager.getUser("rwalker"));
// now clear the cache
ldapManager.onEvent(new LdapClearCacheEvent(null));
// we also need to reset the connectors
List<LdapConnector> connectors = ldapManager.getLdapConnectors();
connectors.clear();
connectors.addAll(this.getLdapConnectors());