Searched refs:mockRunnableForData (Results 1 – 1 of 1) sorted by relevance
378 Runnable mockRunnableForData = mock(Runnable.class); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady() local382 mockRunnableForData.run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()390 verify(mockRunnableForData, times(0)).run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()394 verify(mockRunnableForData, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withRequestPreparer_shouldHoldOffUntilReady()426 Runnable mockRunnableForData = mock(Runnable.class); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout() local433 mockRunnableForData.run(); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()440 verify(mockRunnableForData, timeout(DEFAULT_TIMEOUT_MS)).run(); in testTextLocations_withUnresponsiveRequestPreparer_shouldTimeout()