Class RabbitMQNotificationPublisherTest
java.lang.Object
com.reallifedeveloper.common.infrastructure.messaging.RabbitMQNotificationPublisherTest
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RabbitMQNotificationPublisherTest
public RabbitMQNotificationPublisherTest()
-
-
Method Details
-
init
- Throws:
Exception
-
publishNotificationsShouldCallChannelBasicPublish
- Throws:
Exception
-
publishNotificationsShouldThrowIOExceptionIfConnectionTimesOut
- Throws:
Exception
-
publishNotificationsShouldThrowOriginalExceptionIfBasicPublishFails
@Test public void publishNotificationsShouldThrowOriginalExceptionIfBasicPublishFails() throws Exception- Throws:
Exception
-
creatingPublisherWithNullConnectionFactoryShouldFail
@Test public void creatingPublisherWithNullConnectionFactoryShouldFail() -
creatingPublisherWithNullObjectSerializerShouldFail
@Test public void creatingPublisherWithNullObjectSerializerShouldFail() -
verifyLogging
- Throws:
Exception
-