phpmock\functions\FixedMicrotimeFunctionTest::testConstructCurrentTime PHP Метод

testConstructCurrentTime() публичный Метод

Tests initializing with the current timestamp
    public function testConstructCurrentTime()
    {
        $function = new FixedMicrotimeFunction();
        $this->assertGreaterThan($function->getMicrotime(true), \microtime(true));
        $this->assertGreaterThan(0, $function->getMicrotime(true));
    }