/** * @covers FOF30\Timer\Timer::resetTime */ public function testResetTime() { FakeTimer::$microtime = 123456; $timer = new Timer(8, 33); FakeTimer::$microtime = 876543.21; $timer->resetTime(); $this->assertEquals(876543.21, ReflectionHelper::getValue($timer, 'start_time'), 'Resetting the timer must read a new value from microtime', 1.0E-10); }