com.silverpeas.subscribe.service
Class ResourceSubscriptionServiceTest

java.lang.Object
  extended by com.silverpeas.subscribe.AbstractCommonSubscriptionTest
      extended by com.silverpeas.subscribe.service.ResourceSubscriptionServiceTest

public class ResourceSubscriptionServiceTest
extends AbstractCommonSubscriptionTest


Field Summary
 
Fields inherited from class com.silverpeas.subscribe.AbstractCommonSubscriptionTest
GROUPID_WITH_ONE_USER, INSTANCE_ID, USERID_OF_GROUP_WITH_ONE_USER, validSubscriberTypes
 
Constructor Summary
ResourceSubscriptionServiceTest()
           
 
Method Summary
protected  ResourceSubscriptionService getTestedDefaultService()
           
 void testGetSubscribersForComponentResourceAndExtractUserIds()
          Test of getSubscribersOfComponent method, of interface SubscriptionService.
 void testGetSubscribersForNodeResourcesWithId0AndExtractUserIds()
          Test of getSubscribersOfComponentAndTypedResource method, of interface SubscriptionService.
 void testGetSubscribersForNodeResourcesWithId0AndExtractUserIdsOtherMethod()
          Test of getSubscribersOfComponentAndTypedResource method, of interface SubscriptionService.
 void testGetSubscribersForNodeResourcesWithId10AndExtractUserIds()
          Test of getSubscribersOfComponentAndTypedResource method, of interface SubscriptionService.
 
Methods inherited from class com.silverpeas.subscribe.AbstractCommonSubscriptionTest
getBeanFromContext, getDataSet, getMockedOrganizationController, initializeUsersAndGroups, setUp, setUpClass, tearDown, tearDownClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceSubscriptionServiceTest

public ResourceSubscriptionServiceTest()
Method Detail

testGetSubscribersForComponentResourceAndExtractUserIds

public void testGetSubscribersForComponentResourceAndExtractUserIds()
Test of getSubscribersOfComponent method, of interface SubscriptionService.


testGetSubscribersForNodeResourcesWithId0AndExtractUserIds

public void testGetSubscribersForNodeResourcesWithId0AndExtractUserIds()
Test of getSubscribersOfComponentAndTypedResource method, of interface SubscriptionService.


testGetSubscribersForNodeResourcesWithId0AndExtractUserIdsOtherMethod

public void testGetSubscribersForNodeResourcesWithId0AndExtractUserIdsOtherMethod()
Test of getSubscribersOfComponentAndTypedResource method, of interface SubscriptionService.


testGetSubscribersForNodeResourcesWithId10AndExtractUserIds

public void testGetSubscribersForNodeResourcesWithId10AndExtractUserIds()
Test of getSubscribersOfComponentAndTypedResource method, of interface SubscriptionService.


getTestedDefaultService

protected ResourceSubscriptionService getTestedDefaultService()


Copyright © 2016 Silverpeas. All Rights Reserved.