DN dn = DN.decode("cn=Random Password Generator,cn=Password Generators," +
"cn=config");
ConfigEntry configEntry = DirectoryServer.getConfigEntry(dn);
assertNotNull(configEntry);
RandomPasswordGeneratorCfg configuration =
AdminTestCaseUtils.getConfiguration(
RandomPasswordGeneratorCfgDefn.getInstance(),
configEntry.getEntry());
RandomPasswordGenerator generator = new RandomPasswordGenerator();