@Test(groups = { "res-mgmt" })
public void testGetAllRpNamesAndToRest() {
new Expectations() {
{
List<VcResourcePoolEntity> rpEntities = new ArrayList<VcResourcePoolEntity>();
VcResourcePoolEntity rpEntity1 = new VcResourcePoolEntity();
rpEntity1.setName("rp1");
rpEntity1.setVcCluster("cluster1");
rpEntity1.setVcResourcePool("vcrp1");
rpEntities.add(rpEntity1);
VcResourcePoolEntity rpEntity2 = new VcResourcePoolEntity();
rpEntity2.setName("rp2");
rpEntity2.setVcCluster("cluster2");
rpEntity2.setVcResourcePool("vcrp2");
rpEntities.add(rpEntity2);
rpDao.findAllOrderByClusterName();
result = rpEntities;
}