verify(mockedAccountManager, times(0)).getAuthToken(Mockito.any(Account.class), Matchers.anyString(),
Matchers.any(Bundle.class), Matchers.eq(false), (AccountManagerCallback<Bundle>) Matchers.eq(null),
Matchers.any(Handler.class));
assertNull(callback.callbackException);
assertNotNull(callback.callbackResult);
<BUG>assertTrue(callback.callbackResult.getAccessToken().equals("I am a new access token"));
cacheStore.removeAll();</BUG>
}
@SmallTest
public void testBothLocalAndBrokerSilentAuthFailedSwitchedToBrokerForInteractive()

verify(mockedAccountManager, times(0)).getAuthToken(Mockito.any(Account.class), Matchers.anyString(),
Matchers.any(Bundle.class), Matchers.eq(false), (AccountManagerCallback<Bundle>) Matchers.eq(null),
Matchers.any(Handler.class));
assertNull(callback.callbackException);
assertNotNull(callback.callbackResult);
assertTrue(callback.callbackResult.getAccessToken().equals("I am a new access token"));
assertTrue(authContext.getCache() instanceof DefaultTokenCacheStore);
cacheStore.removeAll();
}
@SmallTest
public void testBothLocalAndBrokerSilentAuthFailedSwitchedToBrokerForInteractive()
