public function testApiGetInterval_ReturnsInterval() { $timer = $this->createTimer($interval = 0.002, function () { }); $this->assertSame($interval, $timer->getInterval()); }