assertEquals(keyFileContents, defaultKey.getConsumerSecret());
}
@Before
public void setup() throws IOException {
token = new OAuthSecurityToken("john.doe", GADGET_URI,
"myapp", "localhost", "default", new Date().getTime() + NEXT_HOUR);
consumerStoreService = createNiceMock(OAuthConsumerStoreService.class);
tokenInfoService = createNiceMock(OAuthTokenInfoService.class);
oAuthStore = new DefaultOAuthStore("http://localhost:8080", "keys/oauthkey.pem",
"consumer-test-key");