Gradle Test Run :bootstrap:test

business_exception_returns_mapped_status_and_code()

summary

1

tests

0

failures

0

skipped

0.011s

duration

100%

successful

standard output

2026-05-12T15:59:43.034+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 
2026-05-12T15:59:43.034+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet '' 
2026-05-12T15:59:43.036+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 2 ms 
2026-05-12T15:59:43.038+09:00 DEBUG 3742337 --- [    Test worker] [traceId=828baca1257557da8a5490f029079c98] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController#businessException() 
2026-05-12T15:59:43.039+09:00 DEBUG 3742337 --- [    Test worker] [traceId=828baca1257557da8a5490f029079c98] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.ApplicationExceptionHandler#handleBusinessException(BusinessException, HttpServletRequest) 
2026-05-12T15:59:43.039+09:00  WARN 3742337 --- [    Test worker] [traceId=828baca1257557da8a5490f029079c98] c.p.a.p.s.e.ApplicationExceptionHandler  : Business exception. exceptionType=KeycloakUserNotFoundException errorCode=AUTH-004 method=GET requestPath=/test-support/business 
2026-05-12T15:59:43.040+09:00 DEBUG 3742337 --- [    Test worker] [traceId=828baca1257557da8a5490f029079c98] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml] 
2026-05-12T15:59:43.040+09:00 DEBUG 3742337 --- [    Test worker] [traceId=828baca1257557da8a5490f029079c98] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ApiResult[success=false, code=AUTH-004, message=연결된 내부 Keycloak 사용자를 찾을 수 없습니다., data=null, errors=n (truncated)...] 
2026-05-12T15:59:43.041+09:00 DEBUG 3742337 --- [    Test worker] [traceId=828baca1257557da8a5490f029079c98] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [com.project.auth.application.auth.exception.KeycloakUserNotFoundException: 연결된 내부 Keycloak 사용자를 찾을 수 없습니다.]