Search in sources :

Example 1 with TimeService

use of org.forgerock.util.time.TimeService in project OpenAM by OpenRock.

the class SessionConditionTest method setUp.

@BeforeMethod
public void setUp() {
    Debug debug = mock(Debug.class);
    coreWrapper = mock(CoreWrapper.class);
    timeService = mock(TimeService.class);
    condition = new SessionCondition(debug, coreWrapper, timeService);
}
Also used : CoreWrapper(org.forgerock.openam.core.CoreWrapper) TimeService(org.forgerock.util.time.TimeService) SessionCondition(org.forgerock.openam.entitlement.conditions.environment.SessionCondition) Debug(com.sun.identity.shared.debug.Debug) BeforeMethod(org.testng.annotations.BeforeMethod)

Aggregations

Debug (com.sun.identity.shared.debug.Debug)1 CoreWrapper (org.forgerock.openam.core.CoreWrapper)1 SessionCondition (org.forgerock.openam.entitlement.conditions.environment.SessionCondition)1 TimeService (org.forgerock.util.time.TimeService)1 BeforeMethod (org.testng.annotations.BeforeMethod)1