@Before public void setUp() throws Exception { MockitoAnnotations.initMocks(this); singularityClient = buildClient(); when(response.getRequest()) .thenReturn(request); when(request.getUrl()) .thenReturn(new URI("test-url")); }
@Before public void setUp() throws Exception { MockitoAnnotations.initMocks(this); singularityClient = buildClient(); when(response.getRequest()) .thenReturn(request); when(request.getUrl()) .thenReturn(new URI("test-url")); }