@Test
public void testGetJobLoadBalancers() throws Exception {

    JobId jobIdWrapper = JobId.newBuilder().setId(JOB_ID).build();
    when(serviceMock.getLoadBalancers(jobIdWrapper, JUNIT_REST_CALL_METADATA)).thenReturn(Observable.just(GET_JOB_LOAD_BALANCERS_RESULT));
    GetJobLoadBalancersResult entity = SpringMockMvcUtil.doGet(mockMvc, String.format("/api/v3/loadBalancers/%s", JOB_ID), GetJobLoadBalancersResult.class);
    assertThat(entity).isEqualTo(GET_JOB_LOAD_BALANCERS_RESULT);
    verify(serviceMock, times(1)).getLoadBalancers(jobIdWrapper, JUNIT_REST_CALL_METADATA);
}