### Question:
CmsAspspExceptionHandler extends ResponseEntityExceptionHandler { @Override protected ResponseEntity<Object> handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatus status, WebRequest request) { log.error(ex.getMessage()); return ResponseEntity .status(HttpStatus.BAD_REQUEST) .body(ERROR_MESSAGE); }    }### Answer:
@Test void handleHttpMessageNotReadable() { HttpMessageNotReadableException exception = new HttpMessageNotReadableException(ERROR_MESSAGE); HttpHeaders headers = new HttpHeaders(); HttpStatus status = HttpStatus.OK; ResponseEntity actualResponse = cmsAspspExceptionHandler.handleHttpMessageNotReadable(exception, headers, status, webRequest); assertEquals(HttpStatus.BAD_REQUEST, actualResponse.getStatusCode()); assertEquals(ERROR_MESSAGE, actualResponse.getBody()); }