@@ -0,0 +1,1736 @@
+package io.quarkus.spring.web.test;%0A%0Aimport static io.restassured.RestAssured.when;%0A%0Aimport org.jboss.shrinkwrap.api.ShrinkWrap;%0Aimport org.jboss.shrinkwrap.api.spec.JavaArchive;%0Aimport org.junit.jupiter.api.Test;%0Aimport org.junit.jupiter.api.extension.RegisterExtension;%0Aimport org.springframework.http.HttpStatus;%0Aimport org.springframework.http.ResponseEntity;%0Aimport org.springframework.web.bind.annotation.ExceptionHandler;%0Aimport org.springframework.web.bind.annotation.GetMapping;%0Aimport org.springframework.web.bind.annotation.RequestMapping;%0Aimport org.springframework.web.bind.annotation.ResponseStatus;%0Aimport org.springframework.web.bind.annotation.RestController;%0Aimport org.springframework.web.bind.annotation.RestControllerAdvice;%0A%0Aimport io.quarkus.test.QuarkusUnitTest;%0A%0Apublic class ResponseStatusAndExceptionHandlerTest %7B%0A%0A    @RegisterExtension%0A    static QuarkusUnitTest runner = new QuarkusUnitTest()%0A            .setArchiveProducer(() -%3E ShrinkWrap.create(JavaArchive.class)%0A                    .addClasses(ExceptionController.class, RestExceptionHandler.class));%0A%0A    @Test%0A    public void testRootResource() %7B%0A        when().get(%22/exception%22).then().statusCode(400);%0A    %7D%0A%0A    @RestController%0A    @RequestMapping(%22/exception%22)%0A    public static class ExceptionController %7B%0A%0A        @GetMapping%0A        @ResponseStatus(HttpStatus.OK)%0A        public String throwException() %7B%0A            throw new RuntimeException();%0A        %7D%0A    %7D%0A%0A    @RestControllerAdvice%0A    public static class RestExceptionHandler %7B%0A%0A        @ExceptionHandler(RuntimeException.class)%0A        public ResponseEntity%3CObject%3E handleException(Exception ex) %7B%0A            return new ResponseEntity%3C%3E(HttpStatus.BAD_REQUEST);%0A        %7D%0A    %7D%0A%7D%0A

Add test for case where @ResponseStatus is used along with @ExceptionHandler