// expected
}
}
public void testGenerateAccessToken() throws Exception {
OAuthAccessor unauthorizedRequestToken = container.generateRequestToken(consumer);
OAuthAccessor authorizedRequestToken =
container.authorizeRequestToken(unauthorizedRequestToken.requestToken, ALEX);
OAuthAccessor accessToken = container.generateAccessToken(authorizedRequestToken.requestToken);
assertEquals("Consumer should be retained", consumer, accessToken.consumer);
assertFalse("Access token should be generated", accessToken.accessToken.isEmpty());
assertFalse("Token secret should be generated", accessToken.tokenSecret.isEmpty());
assertTrue("Accessor should be in storage",