com.silverpeas.notification
Class NotificationPublishingTest

java.lang.Object
  extended by com.silverpeas.notification.NotificationServiceTest
      extended by com.silverpeas.notification.NotificationPublishingTest

public class NotificationPublishingTest
extends NotificationServiceTest

Unit test on the publishing of a notification.


Constructor Summary
NotificationPublishingTest()
           
 
Method Summary
 void eventPublisherFactoryReturnsTheCorrectEventPublisherImpl()
           
 void publishAnEventToAnExistingTopicShouldSucceed()
           
 void publishAnEventToAnUnexistingTopicShouldSucceed()
           
 void setUp()
           
 void tearDown()
           
 
Methods inherited from class com.silverpeas.notification.NotificationServiceTest
bootstrapJMS, getJMSTestFacade, shutdownJMS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationPublishingTest

public NotificationPublishingTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

eventPublisherFactoryReturnsTheCorrectEventPublisherImpl

public void eventPublisherFactoryReturnsTheCorrectEventPublisherImpl()

publishAnEventToAnExistingTopicShouldSucceed

public void publishAnEventToAnExistingTopicShouldSucceed()
                                                  throws Exception
Throws:
Exception

publishAnEventToAnUnexistingTopicShouldSucceed

public void publishAnEventToAnUnexistingTopicShouldSucceed()
                                                    throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.