@Test
public void testGetValidators_defaultPassword() throws Exception {

  Map<String, Object> properties = createBlueprintRequestProperties(CLUSTER_NAME, BLUEPRINT_NAME);
  properties.put("default_password", "pwd");
  TopologyRequest request = new ProvisionClusterRequest(properties, null);
  List<TopologyValidator> validators = request.getTopologyValidators();
  assertEquals(2, validators.size());
  TopologyValidator pwdValidator = validators.get(0);
  TopologyValidator defaultPwdValidator = new RequiredPasswordValidator("pwd");
  assertEquals(pwdValidator, defaultPwdValidator);
}