}
@Test
public void testPrettyOutputResourcePoolsInfo() throws Exception {
CookieCache.put("Cookie","JSESSIONID=2AAF431F59ACEE1CC68B43C87772C54F");
NodeRead node01 = new NodeRead();
node01.setName("node01");
node01.setIpConfigs(createIpConfigs("192.168.1.2"));
List<String> roles01 = new ArrayList<String>();
roles01.add("NameNode");
roles01.add("JobTracker");
roles01.add("DataNode");
roles01.add("HadoopClient");
node01.setRoles(roles01);
NodeRead node02 = new NodeRead();
node02.setName("node02");
node02.setIpConfigs(createIpConfigs("102.168.1.3"));
List<String> roles02 = new ArrayList<String>();
roles02.add("NameNode");
roles02.add("JobTracker");
node02.setRoles(roles02);
NodeRead[] nodes = { node01, node02 };
ResourcePoolRead rp01 = new ResourcePoolRead();
rp01.setRpName("test01");
rp01.setVcCluster("home");