com.stratelia.silverpeas.notificationManager
Class CurrentUserNotificationContextTest

java.lang.Object
  extended by com.stratelia.silverpeas.notificationManager.CurrentUserNotificationContextTest

public class CurrentUserNotificationContextTest
extends Object


Field Summary
 MockByReflectionRule reflectionRule
           
 
Constructor Summary
CurrentUserNotificationContextTest()
           
 
Method Summary
 void checkManualUserNotificationWithCurrentAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
           
 void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
           
 void checkManualUserNotificationWithCurrentGuestUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithCurrentUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithCurrentUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithCurrentUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
           
 void checkManualUserNotificationWithCurrentUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAnonymousUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAnonymousUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentDomainAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentDomainAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentGuestUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentGuestUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentPdcAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentPdcAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndNoCurrentUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithEmptyNotificationMetaDataAndNoCurrentUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNoCurrentUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNoCurrentUserAndLimitationEnabledAndNbReceiversOverLimit()
           
 void checkManualUserNotificationWithNoCurrentUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
           
 void checkManualUserNotificationWithNoCurrentUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAnonymousUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAnonymousUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentDomainAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentDomainAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentGuestUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentGuestUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentPdcAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentPdcAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentUserAndLimitationNotEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndNoCurrentUserAndLimitationEnabled()
           
 void checkManualUserNotificationWithNullNotificationMetaDataAndNoCurrentUserAndLimitationNotEnabled()
           
 void setup()
           
 void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reflectionRule

public MockByReflectionRule reflectionRule
Constructor Detail

CurrentUserNotificationContextTest

public CurrentUserNotificationContextTest()
Method Detail

setup

public void setup()

tearDown

public void tearDown()

checkManualUserNotificationWithNullNotificationMetaDataAndNoCurrentUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndNoCurrentUserAndLimitationNotEnabled()
                                                                                                    throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndNoCurrentUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndNoCurrentUserAndLimitationEnabled()
                                                                                                 throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndNoCurrentUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndNoCurrentUserAndLimitationNotEnabled()
                                                                                                     throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndNoCurrentUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndNoCurrentUserAndLimitationEnabled()
                                                                                                  throws Exception
Throws:
Exception

checkManualUserNotificationWithNoCurrentUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNoCurrentUserAndLimitationNotEnabled()
                                                                         throws Exception
Throws:
Exception

checkManualUserNotificationWithNoCurrentUserAndLimitationEnabled

public void checkManualUserNotificationWithNoCurrentUserAndLimitationEnabled()
                                                                      throws Exception
Throws:
Exception

checkManualUserNotificationWithNoCurrentUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithNoCurrentUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                             throws Exception
Throws:
Exception

checkManualUserNotificationWithNoCurrentUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne

public void checkManualUserNotificationWithNoCurrentUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
                                                                                                             throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAdminUserAndLimitationNotEnabled()
                                                                                                       throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAdminUserAndLimitationEnabled()
                                                                                                    throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAdminUserAndLimitationNotEnabled()
                                                                                                        throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAdminUserAndLimitationEnabled()
                                                                                                     throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentAdminUserAndLimitationNotEnabled()
                                                                            throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentAdminUserAndLimitationEnabled()
                                                                         throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAdminUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                                throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentDomainAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentDomainAdminUserAndLimitationNotEnabled()
                                                                                                             throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentDomainAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentDomainAdminUserAndLimitationEnabled()
                                                                                                          throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentDomainAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentDomainAdminUserAndLimitationNotEnabled()
                                                                                                              throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentDomainAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentDomainAdminUserAndLimitationEnabled()
                                                                                                           throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationNotEnabled()
                                                                                  throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationEnabled()
                                                                               throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentDomainAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                                      throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationNotEnabled()
                                                                                                            throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationEnabled()
                                                                                                         throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationNotEnabled()
                                                                                                             throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentSpaceAdminUserAndLimitationEnabled()
                                                                                                          throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationNotEnabled()
                                                                                 throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationEnabled()
                                                                              throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentSpaceAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                                     throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentPdcAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentPdcAdminUserAndLimitationNotEnabled()
                                                                                                          throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentPdcAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentPdcAdminUserAndLimitationEnabled()
                                                                                                       throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentPdcAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentPdcAdminUserAndLimitationNotEnabled()
                                                                                                           throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentPdcAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentPdcAdminUserAndLimitationEnabled()
                                                                                                        throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationNotEnabled()
                                                                               throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationEnabled()
                                                                            throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentPdcAdminUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                                   throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentUserAndLimitationNotEnabled()
                                                                                                  throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentUserAndLimitationEnabled()
                                                                                               throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentUserAndLimitationNotEnabled()
                                                                                                   throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentUserAndLimitationEnabled()
                                                                                                throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentUserAndLimitationNotEnabled()
                                                                       throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentUserAndLimitationEnabled()
                                                                    throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                           throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne

public void checkManualUserNotificationWithCurrentUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
                                                                                                           throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentGuestUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentGuestUserAndLimitationNotEnabled()
                                                                                                       throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentGuestUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentGuestUserAndLimitationEnabled()
                                                                                                    throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentGuestUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentGuestUserAndLimitationNotEnabled()
                                                                                                        throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentGuestUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentGuestUserAndLimitationEnabled()
                                                                                                     throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentGuestUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentGuestUserAndLimitationNotEnabled()
                                                                            throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabled()
                                                                         throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                                throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne

public void checkManualUserNotificationWithCurrentGuestUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
                                                                                                                throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAnonymousUserAndLimitationNotEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAnonymousUserAndLimitationNotEnabled()
                                                                                                           throws Exception
Throws:
Exception

checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAnonymousUserAndLimitationEnabled

public void checkManualUserNotificationWithNullNotificationMetaDataAndCurrentAnonymousUserAndLimitationEnabled()
                                                                                                        throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAnonymousUserAndLimitationNotEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAnonymousUserAndLimitationNotEnabled()
                                                                                                            throws Exception
Throws:
Exception

checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAnonymousUserAndLimitationEnabled

public void checkManualUserNotificationWithEmptyNotificationMetaDataAndCurrentAnonymousUserAndLimitationEnabled()
                                                                                                         throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAnonymousUserAndLimitationNotEnabled

public void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationNotEnabled()
                                                                                throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabled

public void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabled()
                                                                             throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabledAndNbReceiversOverLimit

public void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabledAndNbReceiversOverLimit()
                                                                                                    throws Exception
Throws:
Exception

checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne

public void checkManualUserNotificationWithCurrentAnonymousUserAndLimitationEnabledAndNbReceiversOverLimitAndNotAManualOne()
                                                                                                                    throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.