use of org.forgerock.openam.core.rest.devices.TrustedDevicesResource in project OpenAM by OpenRock.
the class TrustedDevicesResourceTest method setUp.
@BeforeMethod
public void setUp() {
dao = mock(TrustedDevicesDao.class);
contextHelper = mock(ContextHelper.class);
resource = new TrustedDevicesResource(dao, contextHelper);
given(contextHelper.getUserId((Context) anyObject())).willReturn("demo");
}
Aggregations