*/
public class GoogleAnalyticsProviderTest {
@Test
public void testUpdateCredentials() throws Exception {
Token mockToken = Mockito.mock(Token.class);
Mockito.when(mockToken.getRawResponse()).thenReturn("{\n" +
" \"access_token\" : \"ya29.AHES6ZS2UHOclj7rSPx8lAKbQo2Z6AOPmGeSlaeGA5eMxhe5nO6pAg\",\n" +
" \"token_type\" : \"Bearer\",\n" +
" \"expires_in\" : 3600,\n" +
" \"refresh_token\" : \"1/1B3mzvdzu7dEpQKa2PHoBigmhu-Jefuj-a90Cs7AsEw\"\n" +
"}");