Searched refs:mockAuthenticator (Results 1 – 1 of 1) sorted by relevance
101 private static MockAccountAuthenticator mockAuthenticator; field in AccountManagerTest106 if (null == mockAuthenticator) { in getMockAuthenticator()107 mockAuthenticator = new MockAccountAuthenticator(context); in getMockAuthenticator()109 return mockAuthenticator; in getMockAuthenticator()137 mockAuthenticator.clearData(); in tearDown()155 mockAuthenticator.clearData(); in tearDown()175 assertTrue(mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()187 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()192 Thread.sleep(mockAuthenticator.getTokenDurationMillis() + 1L); in validateSuccessfulTokenFetchingLifecycle()203 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()[all …]