@Test(expected = TitusServiceException.class)
public void addLoadBalancerFailedTest() {

    TitusServiceException exception = TitusServiceException.jobNotFound(TEST_JOB_ID);
    when(loadBalancerService.addLoadBalancer(any(), any())).thenReturn(Completable.error(exception));
    loadBalancerResource.addLoadBalancer(TEST_JOB_ID, TEST_LOAD_BALANCER_ID);
}