From 1cff2a8fed74f08d519041f41347ac5f0a6d10c4 Mon Sep 17 00:00:00 2001 From: subin Date: Sat, 10 Aug 2024 00:59:11 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20OrderSellerServiceTest=20=ED=85=8C?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../order/service/OrderSellerServiceTest.kt | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/test/kotlin/org/store/clothstar/order/service/OrderSellerServiceTest.kt b/src/test/kotlin/org/store/clothstar/order/service/OrderSellerServiceTest.kt index be25c1c..15ce6ab 100644 --- a/src/test/kotlin/org/store/clothstar/order/service/OrderSellerServiceTest.kt +++ b/src/test/kotlin/org/store/clothstar/order/service/OrderSellerServiceTest.kt @@ -15,7 +15,13 @@ import org.store.clothstar.common.error.ErrorCode import org.store.clothstar.order.domain.Order import org.store.clothstar.order.domain.vo.Status import org.store.clothstar.common.error.exception.order.OrderNotFoundException +import org.store.clothstar.member.repository.MemberRepository +import org.store.clothstar.member.service.AddressService +import org.store.clothstar.member.service.MemberService +import org.store.clothstar.member.service.SellerService import org.store.clothstar.order.repository.OrderRepository +import org.store.clothstar.product.service.ItemService +import org.store.clothstar.product.service.ProductService import kotlin.test.Test @ExtendWith(MockKExtension::class) @@ -26,6 +32,21 @@ class OrderSellerServiceTest { @MockK lateinit var orderRepository: OrderRepository + @MockK + lateinit var memberService: MemberService + + @MockK + lateinit var sellerService: SellerService + + @MockK + lateinit var addressService: AddressService + + @MockK + lateinit var itemService: ItemService + + @MockK + lateinit var productService: ProductService + @MockK lateinit var order: Order