/** * @expectedException \BadMethodCallException */ public function testDoubleStart() { $timer = new Timer(); $timer->start(); }