public function testConstruct($timestamp, $expected) { $function = new FixedMicrotimeFunction($timestamp); $this->assertEquals($expected, $function->getMicrotime(true)); }