Searched refs:mockAuthenticator (Results 1 – 1 of 1) sorted by relevance
121 private static MockAccountAuthenticator mockAuthenticator; field in AccountManagerTest126 if (null == mockAuthenticator) { in getMockAuthenticator()127 mockAuthenticator = new MockAccountAuthenticator(context); in getMockAuthenticator()129 return mockAuthenticator; in getMockAuthenticator()160 mockAuthenticator.clearData(); in tearDown()178 mockAuthenticator.clearData(); in tearDown()198 assertTrue(mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()210 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()215 Thread.sleep(mockAuthenticator.getTokenDurationMillis() + 50L); in validateSuccessfulTokenFetchingLifecycle()226 assertEquals(isCachingExpected, !mockAuthenticator.isRecentlyCalled()); in validateSuccessfulTokenFetchingLifecycle()[all …]