control = EasyMock.createNiceControl();
processor = control.createMock(Processor.class);
lockedDomainService = control.createMock(LockedDomainService.class);
oauthUriManager = control.createMock(OAuthUriManager.class);
stateCrypter = new BasicBlobCrypter("1111111111111111111".getBytes());
securityToken = new BasicSecurityToken("viewer", "viewer", "app", "container.com",
"gadget", "0", "default", MAKE_REQUEST_URL, null);
gadget = control.createMock(Gadget.class);
fetcherConfig = new OAuthFetcherConfig(null, null, null, null, false);
responseParams = new OAuthResponseParams(null, null, null);
}