Searched refs:mockAuthenticator (Results 1 – 1 of 1) sorted by relevance
122 private static MockAccountAuthenticator mockAuthenticator; field in AccountManagerTest127 if (null == mockAuthenticator) { in getMockAuthenticator()128 mockAuthenticator = new MockAccountAuthenticator(context); in getMockAuthenticator()130 return mockAuthenticator; in getMockAuthenticator()174 mockAuthenticator.clearData(); in tearDown()192 mockAuthenticator.clearData(); in tearDown()212 assertTrue(mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()224 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()229 Thread.sleep(mockAuthenticator.getTokenDurationMillis() + 50L); in validateSuccessfulTokenFetchingLifecycle()240 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()[all …]