@Test
 public void testParseAuthResponse_noToken() {
   final String response =
       "oauth_token_secret=PbKfYqSryyeKDWz4ebtY3o5ogNLG11WJuZBc9fQrQo&"
           + "screen_name=test&user_id=1";
   final OAuthResponse authResponse = OAuth1aService.parseAuthResponse(response);
   assertNull(authResponse);
 }
 @Test
 public void testParseAuthResponse_noSecret() {
   final String response =
       "oauth_token=7588892-kagSNqWge8gB1WwE3plnFsJHAZVfxWD7Vb57p0b4&"
           + "screen_name=test&user_id=1";
   final OAuthResponse authResponse = OAuth1aService.parseAuthResponse(response);
   assertNull(authResponse);
 }
 @Test
 public void testParseAuthResponse_noUserId() {
   final String response =
       "oauth_token=7588892-kagSNqWge8gB1WwE3plnFsJHAZVfxWD7Vb57p0b4&"
           + "oauth_token_secret=PbKfYqSryyeKDWz4ebtY3o5ogNLG11WJuZBc9fQrQo&"
           + "screen_name=test";
   final OAuthResponse authResponse = OAuth1aService.parseAuthResponse(response);
   assertEquals("7588892-kagSNqWge8gB1WwE3plnFsJHAZVfxWD7Vb57p0b4", authResponse.authToken.token);
   assertEquals("PbKfYqSryyeKDWz4ebtY3o5ogNLG11WJuZBc9fQrQo", authResponse.authToken.secret);
   assertEquals("test", authResponse.userName);
   assertEquals(0L, authResponse.userId);
 }
 @Test
 public void testParseAuthResponse_noQueryParameters() {
   final String response = "noQueryParameters";
   final OAuthResponse authResponse = OAuth1aService.parseAuthResponse(response);
   assertNull(authResponse);
 }