@Test(groups = { "res-mgmt", "dependsOnVC" })
public void testGetHostsByRpName() {
initVirtualCenter();
new Expectations() {
{
VcResourcePoolEntity vcRPEntity = new VcResourcePoolEntity();
vcRPEntity.setVcCluster("cluster-ws");
vcRPEntity.setVcResourcePool("jarred");
rpDao.findByName(anyString);
result = vcRPEntity;
}
};
resSvc.setRpDao(rpDao);