/** * @expectedException Yep\Stopwatch\StopwatchLapNotStartedException */ public function testStopLapWithException() { $event = new Event('name', 'group'); $event->stopLap(); }