use of com.emc.storageos.db.server.util.StubCoordinatorClientImpl in project coprhd-controller by CoprHD.
the class LocalPasswordHandlerTestBase method getPasswordHandler.
public LocalPasswordHandler getPasswordHandler() {
PasswordUtils.setDefaultProperties(new Properties());
PasswordUtils utils = new PasswordUtils();
utils.setCoordinator(new StubCoordinatorClientImpl(URI.create("urn:coordinator")));
utils.setDbClient(new DummyDbClient());
LocalPasswordHandler ph = new LocalPasswordHandler();
ph.setConfigService(_cfg);
ph.setPasswordUtils(utils);
return ph;
}
Aggregations