Set the timestamp as string.
public setMicrotime ( string $timestamp ) | ||
$timestamp | string | The timestamp as string. |
/** * Tests setMicrotime(). * * @test */ public function testSetMicrotime() { $function = new FixedMicrotimeFunction(); $function->setMicrotime("0.00000001 1"); $this->assertEquals("0.00000001 1", $function->getMicrotime()); }