예제 #1
0
 private LoadBalancerRule refresh(LoadBalancerRule rule) {
   return client.getLoadBalancerApi().getLoadBalancerRule(rule.getId());
 }
 @BeforeMethod
 public void setUp() {
   client = createMock(CloudStackApi.class);
   virtualMachineClient = createMock(VirtualMachineApi.class);
   expect(client.getVirtualMachineApi()).andReturn(virtualMachineClient);
 }