public function testApiNow_ReturnsTimestampForNow() { $time = $this->createTimeSupportMock(); $expected = time() * 1000; $now = $time->now(); $this->assertGreaterThanOrEqual($expected, $now); $this->assertLessThan($expected + 1000, $now); }