개발환경 IDE : intelliJ FrameWork : springboot 3.2.2 Launguage java 17 DB : h2 Build Tool : Gradle 1. Controller 테스트 하기 Controller 작성 후 테스트할 때 MockMvc 를 이용하면 정상적으로 내가 원하는 요청을 넣었을 때 응답이 리턴되는지 확인 할 수 있다. 사용 방법은 다음과 같다. @AutoConfigureMockMvc @SpringBootTest @Autowired MockMvc mvc; @Autowired TestService service; @Test void testExample() throws Exception { ... given(this.userVehicleService.getVehicleDet..