diff --git a/test/Subscriber/TestStopTest.php b/test/Subscriber/TestStopTest.php index 349fdc7..db41e81 100644 --- a/test/Subscriber/TestStopTest.php +++ b/test/Subscriber/TestStopTest.php @@ -50,4 +50,10 @@ public function testStopped(): void self::assertEquals(10, $timing['duration']); self::assertEquals(1, $timing['times']); } + + public function testStoppedWithoutStart(): void + { + $reportTest = new TestStop($this->collector); + $reportTest->notify(self::fakeEventTestFinished()); + } }