hosts1.add("host1-1");
hosts1.add("task1-2");
List<String> hosts2 = new ArrayList<String>();
hosts2.add("host2-1");
hosts2.add("task2-2");
RackInfo rackInfo1 = new RackInfo();
RackInfo rackInfo2 = new RackInfo();
rackInfo1.setName("rack1");
rackInfo1.setHosts(hosts1);
rackInfo2.setName("rack2");
rackInfo2.setHosts(hosts2);
racksInfo.add(rackInfo1);
racksInfo.add(rackInfo2);
rim.importRackInfo(racksInfo);
assertEquals(racksInfo.get(0).getName(), rim.exportRackInfo().get(0)