@Test(expected = InvalidTopologyException.class)
public void testValidateConfigurations__secretReference() throws InvalidTopologyException {

  Map<String, Map<String, String>> group2Props = new HashMap<>();
  Map<String, String> group2Category2Props = new HashMap<>();
  group2Props.put("category2", group2Category2Props);
  group2Category2Props.put("prop2", "val");
  hdfsProps.put("secret", "SECRET:hdfs-site:1:test");
  replay(stack, group1, group2);
  Blueprint blueprint = new BlueprintImpl("test", hostGroups, stack, configuration, null);
  blueprint.validateRequiredProperties();
  verify(stack, group1, group2);
}