public function testApiGetInterval_ReturnsProperInterval() { $interval = 1.0E-23; $react = $this->createApiMethodMock('getInterval', function () use($interval) { return $interval; }); $this->assertEquals($interval, $react->getInterval()); }