rpSvc.addResourcePool("testRP", "cluster-ws", "jarred");
}
@Test(groups = { "res-mgmt" }, expectedExceptions = VcProviderException.class)
public void testAddNonExistResourcePool() {
new Expectations() {
{
rpDao.isRPAdded(anyString, anyString);
result = false;
resService.refreshResourcePool();
resService.isRPExistInVc(anyString, anyString);