diff --git a/src/test/kotlin/dev/usbharu/hideout/core/service/notification/RelationshipNotificationManagementServiceImplTest.kt b/src/test/kotlin/dev/usbharu/hideout/core/service/notification/RelationshipNotificationManagementServiceImplTest.kt new file mode 100644 index 00000000..0293920a --- /dev/null +++ b/src/test/kotlin/dev/usbharu/hideout/core/service/notification/RelationshipNotificationManagementServiceImplTest.kt @@ -0,0 +1,25 @@ +package dev.usbharu.hideout.core.service.notification + +import dev.usbharu.hideout.core.domain.model.relationship.Relationship +import org.junit.jupiter.api.Test +import kotlin.test.assertTrue + +class RelationshipNotificationManagementServiceImplTest { + @Test + fun `sendNotification ミューとしていない場合送信する`() { + val notification = RelationshipNotificationManagementServiceImpl().sendNotification( + Relationship( + 1, + 2, + false, + false, + false, + false, + false + ), PostNotificationRequest(1, 2, 3) + ) + + assertTrue(notification) + + } +}