- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for thenThrow (0.03 sec)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
TestApplication application = new TestApplication(); ExecutorService service = mock(ExecutorService.class); application.addDelayedShutdownHook(service, 2, SECONDS); when(service.awaitTermination(2, SECONDS)).thenThrow(new InterruptedException()); application.shutdown(); verify(service).shutdown(); } public void testGetExitingExecutorService_executorSetToUseDaemonThreads() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 28K bytes - Viewed (0)