* tests getting a request token.
*/
@Test
public void testGetRequestToken() throws Exception {
CoreOAuthConsumerSupport support = new CoreOAuthConsumerSupport();
support.setStreamHandlerFactory(new DefaultOAuthURLStreamHandlerFactory());
InMemoryProtectedResourceDetailsService service = new InMemoryProtectedResourceDetailsService();
HashMap<String, ProtectedResourceDetails> detailsStore = new HashMap<String, ProtectedResourceDetails>();
BaseProtectedResourceDetails googleDetails = new BaseProtectedResourceDetails();
googleDetails.setRequestTokenURL("https://www.google.com/accounts/OAuthGetRequestToken");
googleDetails.setAccessTokenURL("https://www.google.com/accounts/OAuthAuthorizeToken");