diff --git a/jmock/src/test/java/org/jmock/test/unit/lib/concurrent/DeterministicSchedulerTests.java b/jmock/src/test/java/org/jmock/test/unit/lib/concurrent/DeterministicSchedulerTests.java index 56846dabf..2b49730fc 100644 --- a/jmock/src/test/java/org/jmock/test/unit/lib/concurrent/DeterministicSchedulerTests.java +++ b/jmock/src/test/java/org/jmock/test/unit/lib/concurrent/DeterministicSchedulerTests.java @@ -236,6 +236,7 @@ public void testCanCancelScheduledCommands() { assertFalse(future.isCancelled()); future.cancel(dontCare); assertTrue(future.isCancelled()); + assertTrue(future.isDone()); // fixes # checking(new Expectations() {{ never (commandA);