exceptionCaught = true;
}
AssertJUnit.assertTrue(exceptionCaught);
tool.addCluster(clusterName, true);
tool.addResource(clusterName, "resource", 10, "MasterSlave");
InstanceConfig config = new InstanceConfig("nodeConfig");
tool.addInstance(clusterName, config);
List<String> instances = tool.getInstancesInCluster(clusterName);
AssertJUnit.assertEquals(1, instances.size());
tool.dropInstance(clusterName, config);