com.silverpeas.subscribe.web
Class SubscriptionTestResources
java.lang.Object
com.silverpeas.web.TestResources
com.silverpeas.subscribe.web.SubscriptionTestResources
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
@Named(value="testRESTResources")
public class SubscriptionTestResources
- extends TestResources
Wrapper of resources required by the unit tests on the subscription web service.
| Methods inherited from class com.silverpeas.web.TestResources |
aUser, aUserNamed, getAccessControllerMock, getApplicationContext, getOrganizationControllerMock, getPersonalizationServiceMock, getSessionManagerMock, getSpaceAccessControllerMock, getTestResources, getTokenServiceMock, registerUser, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMPONENT_ID
public static final String COMPONENT_ID
- See Also:
- Constant Field Values
SUBSCRIBE_RESOURCE_PATH
public static final String SUBSCRIBE_RESOURCE_PATH
- See Also:
- Constant Field Values
SUBSCRIPTION_RESOURCE_PATH
public static final String SUBSCRIPTION_RESOURCE_PATH
- See Also:
- Constant Field Values
UNSUBSCRIBE_RESOURCE_PATH
public static final String UNSUBSCRIBE_RESOURCE_PATH
- See Also:
- Constant Field Values
SubscriptionTestResources
public SubscriptionTestResources()
setupMocks
@PostConstruct
public void setupMocks()
getMockableSubscriptionService
public MockableSubscriptionService getMockableSubscriptionService()
Copyright © 2016 Silverpeas. All Rights Reserved.