Assert.assertFalse(rpSvc.isDeployedUnderCluster("cluster1", "rp2"));
}
@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");