Class KafkaNotificationPublisherTest

java.lang.Object
com.reallifedeveloper.common.infrastructure.messaging.KafkaNotificationPublisherTest

public class KafkaNotificationPublisherTest extends Object
  • Constructor Details

    • KafkaNotificationPublisherTest

      public KafkaNotificationPublisherTest()
  • Method Details

    • init

      @BeforeEach public void init()
    • publishingNotificationShouldCallKafkaTemplateSend

      @Test public void publishingNotificationShouldCallKafkaTemplateSend() throws Exception
      Throws:
      Exception
    • toNotifications

      public static List<Notification> toNotifications(DomainEvent... domainEvents)
    • creatingPublisherWithNullKafkaTemplateShouldFail

      @Test public void creatingPublisherWithNullKafkaTemplateShouldFail()
    • creatingPublisherWithNullObjectSerializerShouldFail

      @Test public void creatingPublisherWithNullObjectSerializerShouldFail()