diff --git a/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java b/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java
index <HASH>..<HASH> 100644
--- a/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java
+++ b/metrics-core/src/test/java/com/codahale/metrics/TimerTest.java
@@ -123,11 +123,11 @@ public class TimerTest {
         assertThat(timer.getCount()).isZero();
 
         int dummy = 0;
-
         try (Timer.Context context = timer.time()) {
+            assertThat(context).isNotNull();
             dummy += 1;
         }
-
+        assertThat(dummy).isEqualTo(1);
         assertThat(timer.getCount())
                 .isEqualTo(1);
Add additional checks for the try-with-resources test for a Timer