Class KafkaNotificationPublisherTest
java.lang.Object
com.reallifedeveloper.common.infrastructure.messaging.KafkaNotificationPublisherTest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
init()
void
static List
<Notification> toNotifications
(DomainEvent... domainEvents)
-
Constructor Details
-
KafkaNotificationPublisherTest
public KafkaNotificationPublisherTest()
-
-
Method Details
-
init
@BeforeEach public void init() -
publishingNotificationShouldCallKafkaTemplateSend
- Throws:
Exception
-
toNotifications
-
creatingPublisherWithNullKafkaTemplateShouldFail
@Test public void creatingPublisherWithNullKafkaTemplateShouldFail() -
creatingPublisherWithNullObjectSerializerShouldFail
@Test public void creatingPublisherWithNullObjectSerializerShouldFail()
-