/** * */ package org.gcube.testutility; //import org.gcube.common.authorization.library.provider.SecurityTokenProvider; import org.gcube.common.authorization.library.provider.SecurityTokenProvider; import org.gcube.common.scope.api.ScopeProvider; import org.junit.After; import org.junit.Before; /** * @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/ * */ public class ScopedTest { @Before public void before() throws Exception{ SecurityTokenProvider.instance.set(TestUtility.TOKEN); ScopeProvider.instance.set("/gcube/devNext/NextNext"); } @After public void after() throws Exception{ SecurityTokenProvider.instance.reset(); ScopeProvider.instance.reset(); } }