RestTestClient는 서버 없이 MVC 경계를 실행한다

직접 메서드 호출보다 넓고 실제 포트 테스트보다 작은 범위에서 매핑과 변환을 확인한다.

1. Test request

method · URI · headers · JSON body

2. DispatcherServlet

mapping · validation · converter

3. ControllerAdvice

예외를 ProblemDetail로 변환

4. Expectations

status · Location · JSON path