com.silverpeas.notification
Class NotificationSubscriptionTest

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

public class NotificationSubscriptionTest
extends NotificationServiceTest

Unit test on the subscription to a topic for receiving notifications.


Constructor Summary
NotificationSubscriptionTest()
           
 
Method Summary
 void aSubscribedListenerShouldReceivePublishedEvents()
           
 void setUp()
           
 void tearDown()
           
 void theSubscriptionASecondTimeToAnExistingTopicShouldDoNothing()
           
 void theSubscriptionToAnExistingTopicShouldSucceed()
           
 void theSubscriptionToAnUnexistingTopicShouldFailed()
           
 void unsubscribeToANonSubscribedTopicShouldDoNothing()
           
 
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

NotificationSubscriptionTest

public NotificationSubscriptionTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

theSubscriptionToAnExistingTopicShouldSucceed

public void theSubscriptionToAnExistingTopicShouldSucceed()

theSubscriptionASecondTimeToAnExistingTopicShouldDoNothing

public void theSubscriptionASecondTimeToAnExistingTopicShouldDoNothing()

theSubscriptionToAnUnexistingTopicShouldFailed

public void theSubscriptionToAnUnexistingTopicShouldFailed()

unsubscribeToANonSubscribedTopicShouldDoNothing

public void unsubscribeToANonSubscribedTopicShouldDoNothing()

aSubscribedListenerShouldReceivePublishedEvents

public void aSubscribedListenerShouldReceivePublishedEvents()


Copyright © 2016 Silverpeas. All Rights Reserved.