WebActionControllerAdvice implements ResponseBodyAdvice<Object> { @Override public boolean supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType) { return true; }  @Override boolean supports(MethodParameter returnType, Class<? extends HttpMessageConverter<?>> converterType); @SuppressWarnings("unchecked") @Override Object beforeBodyWrite(Object body, MethodParameter returnType, MediaType selectedContentType, 
			Class<? extends HttpMessageConverter<?>> selectedConverterType, ServerHttpRequest request, ServerHttpResponse response); @ResponseStatus(value = HttpStatus.INTERNAL_SERVER_ERROR) @ExceptionHandler(Throwable.class) @ResponseBody MultiExecuteOutput exception(Throwable pEx); @ResponseStatus(value = HttpStatus.UNPROCESSABLE_ENTITY) @ExceptionHandler(MethodArgumentNotValidException.class) @ResponseBody MultiExecuteOutput exception(MethodArgumentNotValidException vEx);  }
@Test public void testSupports() { Assert.assertTrue(this.testee.supports(null, null)); }