@Test
public void getAllJobsTest() {

    GetAllLoadBalancersResult expectedResult = GetAllLoadBalancersResult.newBuilder().build();
    when(uriInfo.getQueryParameters()).thenReturn(getDefaultPageParameters());
    when(loadBalancerService.getAllLoadBalancers(any(), any())).thenReturn(Observable.just(expectedResult));
    GetAllLoadBalancersResult actualResult = loadBalancerResource.getAllLoadBalancers(uriInfo);
    assertEquals(expectedResult, actualResult);
}