public function testLap() { $event = new StopwatchEvent(microtime(true) * 1000); $event ->start(); $event ->lap(); $event ->stop(); $this ->assertCount(2, $event ->getPeriods()); }