public void setUpBasic() throws Exception {
servlet = new ServicesServlet();
cache = new OSEInMemoryCache();
persister = new OSEOAuth2Persister(null, authority, null, null, "{test: 123}");
oAuthStore = new OSEOAuthStore();
oAuth2Store = new OSEOAuth2Store(cache, persister, null, null, authority, null, null);
req = createMock(HttpServletRequest.class);
resp = createNiceMock(HttpServletResponse.class);
authority = createMock(Authority.class);
oAuthProvider = createMock(OSEOAuthStoreProvider.class);