### Question:
JsonIOExceptionMapper implements ExceptionMapper<JsonIOException> { @Override public Response toResponse(JsonIOException e) { return Response.status(Response.Status.BAD_REQUEST).entity(e.getMessage()).type(MediaType.TEXT_PLAIN).build(); }  @Override Response toResponse(JsonIOException e);  }### Answer:
@Test public void testJsonIOExceptionMapper() { JsonIOExceptionMapper mapper = new JsonIOExceptionMapper(); Response response = mapper.toResponse(new JsonIOException(cause)); assertNotNull(response); assertEquals(BAD_REQUEST, response.getStatus()); }