From 702562342a57267a1a53fd39c13eb29a3289e2c5 Mon Sep 17 00:00:00 2001 From: le2sky Date: Fri, 8 Sep 2023 20:37:58 +0900 Subject: [PATCH] =?UTF-8?q?refactor=20:=20reservation=20=EC=9B=B9=20?= =?UTF-8?q?=ED=8C=A8=ED=82=A4=EC=A7=80=20=EA=B5=AC=EC=A1=B0=20=EA=B0=9C?= =?UTF-8?q?=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../input => }/web/AcceptReservationController.kt | 2 +- .../input => }/web/GetReservationController.kt | 2 +- .../input => }/web/PayReservationController.kt | 4 ++-- .../input => }/web/RejectReservationController.kt | 2 +- .../input => }/web/ReserveProductController.kt | 4 ++-- .../input => }/web/request/PayReservationWebRequest.kt | 2 +- .../input => }/web/request/ReserveProductWebRequest.kt | 2 +- .../input => }/web/request/ReservedWebProduct.kt | 2 +- .../reservation/AcceptReservationControllerDocsTest.kt | 2 +- .../reservation/GetReservationControllerDocsTest.kt | 2 +- .../reservation/PayReservationControllerDocsTest.kt | 4 ++-- .../reservation/RejectReservationControllerDocsTest.kt | 2 +- .../reservation/ReserveProductControllerDocsTest.kt | 6 +++--- .../kotlin/com/mealkitary/WebIntegrationTestSupport.kt | 10 +++++----- .../input => }/web/AcceptReservationControllerTest.kt | 2 +- .../input => }/web/GetReservationControllerTest.kt | 2 +- .../input => }/web/PayReservationControllerTest.kt | 4 ++-- .../input => }/web/RejectReservationControllerTest.kt | 2 +- .../input => }/web/ReserveProductControllerTest.kt | 6 +++--- 19 files changed, 31 insertions(+), 31 deletions(-) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/AcceptReservationController.kt (94%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/GetReservationController.kt (93%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/PayReservationController.kt (90%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/RejectReservationController.kt (94%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/ReserveProductController.kt (87%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/request/PayReservationWebRequest.kt (91%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/request/ReserveProductWebRequest.kt (93%) rename mealkitary-api/src/main/kotlin/com/mealkitary/reservation/{adapter/input => }/web/request/ReservedWebProduct.kt (92%) rename mealkitary-api/src/test/kotlin/com/mealkitary/reservation/{adapter/input => }/web/AcceptReservationControllerTest.kt (97%) rename mealkitary-api/src/test/kotlin/com/mealkitary/reservation/{adapter/input => }/web/GetReservationControllerTest.kt (98%) rename mealkitary-api/src/test/kotlin/com/mealkitary/reservation/{adapter/input => }/web/PayReservationControllerTest.kt (97%) rename mealkitary-api/src/test/kotlin/com/mealkitary/reservation/{adapter/input => }/web/RejectReservationControllerTest.kt (97%) rename mealkitary-api/src/test/kotlin/com/mealkitary/reservation/{adapter/input => }/web/ReserveProductControllerTest.kt (96%) diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/AcceptReservationController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/AcceptReservationController.kt similarity index 94% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/AcceptReservationController.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/AcceptReservationController.kt index 67eba74..2c01ea9 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/AcceptReservationController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/AcceptReservationController.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.common.utils.UUIDUtils import com.mealkitary.reservation.application.port.input.AcceptReservationUseCase diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/GetReservationController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt similarity index 93% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/GetReservationController.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt index d86c7a5..d427904 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/GetReservationController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/GetReservationController.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.common.utils.UUIDUtils import com.mealkitary.reservation.application.port.input.GetReservationQuery diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/PayReservationController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/PayReservationController.kt similarity index 90% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/PayReservationController.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/PayReservationController.kt index 2aaaedb..ec558a4 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/PayReservationController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/PayReservationController.kt @@ -1,9 +1,9 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.common.utils.HttpResponseUtils import com.mealkitary.common.utils.UUIDUtils -import com.mealkitary.reservation.adapter.input.web.request.PayReservationWebRequest import com.mealkitary.reservation.application.port.input.PayReservationUseCase +import com.mealkitary.reservation.web.request.PayReservationWebRequest import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.PathVariable import org.springframework.web.bind.annotation.PostMapping diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/RejectReservationController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/RejectReservationController.kt similarity index 94% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/RejectReservationController.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/RejectReservationController.kt index 8329915..9aacec3 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/RejectReservationController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/RejectReservationController.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.common.utils.UUIDUtils import com.mealkitary.reservation.application.port.input.RejectReservationUseCase diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/ReserveProductController.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/ReserveProductController.kt similarity index 87% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/ReserveProductController.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/ReserveProductController.kt index a1e2fb6..b9f1446 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/ReserveProductController.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/ReserveProductController.kt @@ -1,8 +1,8 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.common.utils.HttpResponseUtils -import com.mealkitary.reservation.adapter.input.web.request.ReserveProductWebRequest import com.mealkitary.reservation.application.port.input.ReserveProductUseCase +import com.mealkitary.reservation.web.request.ReserveProductWebRequest import org.springframework.http.ResponseEntity import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestBody diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/PayReservationWebRequest.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/PayReservationWebRequest.kt similarity index 91% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/PayReservationWebRequest.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/PayReservationWebRequest.kt index 478cae5..845820d 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/PayReservationWebRequest.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/PayReservationWebRequest.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web.request +package com.mealkitary.reservation.web.request import com.mealkitary.reservation.application.port.input.PayReservationRequest import java.util.UUID diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/ReserveProductWebRequest.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/ReserveProductWebRequest.kt similarity index 93% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/ReserveProductWebRequest.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/ReserveProductWebRequest.kt index 0af462b..af1f35f 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/ReserveProductWebRequest.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/ReserveProductWebRequest.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web.request +package com.mealkitary.reservation.web.request import com.mealkitary.common.validation.DateValid import com.mealkitary.reservation.application.port.input.ReserveProductRequest diff --git a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/ReservedWebProduct.kt b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/ReservedWebProduct.kt similarity index 92% rename from mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/ReservedWebProduct.kt rename to mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/ReservedWebProduct.kt index 7cbabce..6e4584c 100644 --- a/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/adapter/input/web/request/ReservedWebProduct.kt +++ b/mealkitary-api/src/main/kotlin/com/mealkitary/reservation/web/request/ReservedWebProduct.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web.request +package com.mealkitary.reservation.web.request import com.mealkitary.reservation.application.port.input.ReservedProduct import javax.validation.constraints.NotBlank diff --git a/mealkitary-api/src/test/kotlin/com/docs/reservation/AcceptReservationControllerDocsTest.kt b/mealkitary-api/src/test/kotlin/com/docs/reservation/AcceptReservationControllerDocsTest.kt index a65ae4d..7ca1a78 100644 --- a/mealkitary-api/src/test/kotlin/com/docs/reservation/AcceptReservationControllerDocsTest.kt +++ b/mealkitary-api/src/test/kotlin/com/docs/reservation/AcceptReservationControllerDocsTest.kt @@ -1,8 +1,8 @@ package com.docs.reservation import com.docs.RestDocsSupport -import com.mealkitary.reservation.adapter.input.web.AcceptReservationController import com.mealkitary.reservation.application.port.input.AcceptReservationUseCase +import com.mealkitary.reservation.web.AcceptReservationController import io.mockk.every import io.mockk.mockk import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document diff --git a/mealkitary-api/src/test/kotlin/com/docs/reservation/GetReservationControllerDocsTest.kt b/mealkitary-api/src/test/kotlin/com/docs/reservation/GetReservationControllerDocsTest.kt index 8b7db99..c1ed274 100644 --- a/mealkitary-api/src/test/kotlin/com/docs/reservation/GetReservationControllerDocsTest.kt +++ b/mealkitary-api/src/test/kotlin/com/docs/reservation/GetReservationControllerDocsTest.kt @@ -1,10 +1,10 @@ package com.docs.reservation import com.docs.RestDocsSupport -import com.mealkitary.reservation.adapter.input.web.GetReservationController import com.mealkitary.reservation.application.port.input.GetReservationQuery import com.mealkitary.reservation.application.port.input.ReservationResponse import com.mealkitary.reservation.application.port.input.ReservedProduct +import com.mealkitary.reservation.web.GetReservationController import io.mockk.every import io.mockk.mockk import org.springframework.http.MediaType diff --git a/mealkitary-api/src/test/kotlin/com/docs/reservation/PayReservationControllerDocsTest.kt b/mealkitary-api/src/test/kotlin/com/docs/reservation/PayReservationControllerDocsTest.kt index 63fa813..30d8d52 100644 --- a/mealkitary-api/src/test/kotlin/com/docs/reservation/PayReservationControllerDocsTest.kt +++ b/mealkitary-api/src/test/kotlin/com/docs/reservation/PayReservationControllerDocsTest.kt @@ -1,9 +1,9 @@ package com.docs.reservation import com.docs.RestDocsSupport -import com.mealkitary.reservation.adapter.input.web.PayReservationController -import com.mealkitary.reservation.adapter.input.web.request.PayReservationWebRequest import com.mealkitary.reservation.application.port.input.PayReservationUseCase +import com.mealkitary.reservation.web.PayReservationController +import com.mealkitary.reservation.web.request.PayReservationWebRequest import io.mockk.every import io.mockk.mockk import org.springframework.http.MediaType diff --git a/mealkitary-api/src/test/kotlin/com/docs/reservation/RejectReservationControllerDocsTest.kt b/mealkitary-api/src/test/kotlin/com/docs/reservation/RejectReservationControllerDocsTest.kt index fa016dc..4777a4c 100644 --- a/mealkitary-api/src/test/kotlin/com/docs/reservation/RejectReservationControllerDocsTest.kt +++ b/mealkitary-api/src/test/kotlin/com/docs/reservation/RejectReservationControllerDocsTest.kt @@ -1,8 +1,8 @@ package com.docs.reservation import com.docs.RestDocsSupport -import com.mealkitary.reservation.adapter.input.web.RejectReservationController import com.mealkitary.reservation.application.port.input.RejectReservationUseCase +import com.mealkitary.reservation.web.RejectReservationController import io.mockk.every import io.mockk.mockk import org.springframework.restdocs.mockmvc.MockMvcRestDocumentation.document diff --git a/mealkitary-api/src/test/kotlin/com/docs/reservation/ReserveProductControllerDocsTest.kt b/mealkitary-api/src/test/kotlin/com/docs/reservation/ReserveProductControllerDocsTest.kt index 1c1581e..b29c4a9 100644 --- a/mealkitary-api/src/test/kotlin/com/docs/reservation/ReserveProductControllerDocsTest.kt +++ b/mealkitary-api/src/test/kotlin/com/docs/reservation/ReserveProductControllerDocsTest.kt @@ -1,10 +1,10 @@ package com.docs.reservation import com.docs.RestDocsSupport -import com.mealkitary.reservation.adapter.input.web.ReserveProductController -import com.mealkitary.reservation.adapter.input.web.request.ReserveProductWebRequest -import com.mealkitary.reservation.adapter.input.web.request.ReservedWebProduct import com.mealkitary.reservation.application.port.input.ReserveProductUseCase +import com.mealkitary.reservation.web.ReserveProductController +import com.mealkitary.reservation.web.request.ReserveProductWebRequest +import com.mealkitary.reservation.web.request.ReservedWebProduct import io.mockk.every import io.mockk.mockk import org.springframework.http.MediaType diff --git a/mealkitary-api/src/test/kotlin/com/mealkitary/WebIntegrationTestSupport.kt b/mealkitary-api/src/test/kotlin/com/mealkitary/WebIntegrationTestSupport.kt index a60b5ec..337dfb9 100644 --- a/mealkitary-api/src/test/kotlin/com/mealkitary/WebIntegrationTestSupport.kt +++ b/mealkitary-api/src/test/kotlin/com/mealkitary/WebIntegrationTestSupport.kt @@ -1,16 +1,16 @@ package com.mealkitary import com.fasterxml.jackson.databind.ObjectMapper -import com.mealkitary.reservation.adapter.input.web.AcceptReservationController -import com.mealkitary.reservation.adapter.input.web.GetReservationController -import com.mealkitary.reservation.adapter.input.web.PayReservationController -import com.mealkitary.reservation.adapter.input.web.RejectReservationController -import com.mealkitary.reservation.adapter.input.web.ReserveProductController import com.mealkitary.reservation.application.port.input.AcceptReservationUseCase import com.mealkitary.reservation.application.port.input.GetReservationQuery import com.mealkitary.reservation.application.port.input.PayReservationUseCase import com.mealkitary.reservation.application.port.input.RejectReservationUseCase import com.mealkitary.reservation.application.port.input.ReserveProductUseCase +import com.mealkitary.reservation.web.AcceptReservationController +import com.mealkitary.reservation.web.GetReservationController +import com.mealkitary.reservation.web.PayReservationController +import com.mealkitary.reservation.web.RejectReservationController +import com.mealkitary.reservation.web.ReserveProductController import com.mealkitary.shop.application.port.input.GetProductQuery import com.mealkitary.shop.application.port.input.GetReservableTimeQuery import com.mealkitary.shop.application.port.input.GetShopQuery diff --git a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/AcceptReservationControllerTest.kt b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/AcceptReservationControllerTest.kt similarity index 97% rename from mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/AcceptReservationControllerTest.kt rename to mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/AcceptReservationControllerTest.kt index c1c930a..294775d 100644 --- a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/AcceptReservationControllerTest.kt +++ b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/AcceptReservationControllerTest.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.WebIntegrationTestSupport import com.mealkitary.common.exception.EntityNotFoundException diff --git a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/GetReservationControllerTest.kt b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/GetReservationControllerTest.kt similarity index 98% rename from mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/GetReservationControllerTest.kt rename to mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/GetReservationControllerTest.kt index 30b66ed..6251ea9 100644 --- a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/GetReservationControllerTest.kt +++ b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/GetReservationControllerTest.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.WebIntegrationTestSupport import com.mealkitary.common.exception.EntityNotFoundException diff --git a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/PayReservationControllerTest.kt b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/PayReservationControllerTest.kt similarity index 97% rename from mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/PayReservationControllerTest.kt rename to mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/PayReservationControllerTest.kt index 716a689..5116be3 100644 --- a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/PayReservationControllerTest.kt +++ b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/PayReservationControllerTest.kt @@ -1,8 +1,8 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.WebIntegrationTestSupport import com.mealkitary.common.exception.EntityNotFoundException -import com.mealkitary.reservation.adapter.input.web.request.PayReservationWebRequest +import com.mealkitary.reservation.web.request.PayReservationWebRequest import io.mockk.every import org.springframework.http.MediaType import org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post diff --git a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/RejectReservationControllerTest.kt b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/RejectReservationControllerTest.kt similarity index 97% rename from mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/RejectReservationControllerTest.kt rename to mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/RejectReservationControllerTest.kt index 22c28d4..2b12a67 100644 --- a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/RejectReservationControllerTest.kt +++ b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/RejectReservationControllerTest.kt @@ -1,4 +1,4 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.WebIntegrationTestSupport import com.mealkitary.common.exception.EntityNotFoundException diff --git a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/ReserveProductControllerTest.kt b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/ReserveProductControllerTest.kt similarity index 96% rename from mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/ReserveProductControllerTest.kt rename to mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/ReserveProductControllerTest.kt index bcd9270..47d3568 100644 --- a/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/adapter/input/web/ReserveProductControllerTest.kt +++ b/mealkitary-api/src/test/kotlin/com/mealkitary/reservation/web/ReserveProductControllerTest.kt @@ -1,9 +1,9 @@ -package com.mealkitary.reservation.adapter.input.web +package com.mealkitary.reservation.web import com.mealkitary.WebIntegrationTestSupport import com.mealkitary.common.exception.EntityNotFoundException -import com.mealkitary.reservation.adapter.input.web.request.ReserveProductWebRequest -import com.mealkitary.reservation.adapter.input.web.request.ReservedWebProduct +import com.mealkitary.reservation.web.request.ReserveProductWebRequest +import com.mealkitary.reservation.web.request.ReservedWebProduct import io.mockk.every import org.springframework.http.MediaType import org.springframework.test.web.servlet.request.MockMvcRequestBuilders.post