When I try to mock a javax.ws.rs.core Response
I get a error message:
Unable to create a JAX-RS runtime Delegate
Why does this happen?
Response response = Mockito.mock(Response.class);
But when I try to mock a HttpServletResponse there is no issue with that!
HttpServletResponse response1 = Mockito.mock(HttpServletResponse.class);