### Question:
GlobalExceptionHandler { @ExceptionHandler(ObaException.class) public ResponseEntity<Map> handleAisException(ObaException e) { HttpStatus status = AisExceptionStatusResolver.resolveHttpStatusByCode(e.getObaErrorCode()); Map message = buildContentMap(status.value(), e.getDevMessage()); return ResponseEntity.status(status).body(message); }  @ExceptionHandler(ObaException.class) ResponseEntity<Map> handleAisException(ObaException e); @ExceptionHandler(PaymentAuthorizeException.class) ResponseEntity<Map> handlePaymentAuthorizeException(PaymentAuthorizeException e); @ExceptionHandler(AuthorizationException.class) ResponseEntity<Map> handleAuthException(AuthorizationException e); @ExceptionHandler(FeignException.class) ResponseEntity<Map> handleFeignException(FeignException ex, HandlerMethod handlerMethod);  }### Answer:
@Test void handleAisException() throws NoSuchFieldException { FieldSetter.setField(service, service.getClass().getDeclaredField("objectMapper"), STATIC_MAPPER); ResponseEntity<Map> result = service.handleAisException(ObaException.builder().devMessage("Msg").obaErrorCode(ObaErrorCode.AIS_BAD_REQUEST).build()); compareBodies(result, ResponseEntity.status(HttpStatus.BAD_REQUEST).body(getExpected(400, "Msg"))); }