Cassandra\DateTest::testConstructNow PHP Method

testConstructNow() public method

public testConstructNow ( )
    public function testConstructNow()
    {
        $date = new Date();
        $this->assertEquals($date->seconds(), (int) (time() / self::SECONDS_PER_DAY) * self::SECONDS_PER_DAY, "", 1);
    }