Jyxo\Time\TimeTest::testGet PHP 메소드

testGet() 공개 메소드

Tests the get() method.
또한 보기: Jyxo\Time\Time::get()
public testGet ( )
    public function testGet()
    {
        // Unixtime
        $now = time();
        $this->assertEquals(date('Y-m-d', $now), Time::get($now)->format('Y-m-d'));
        // No need to perform all tests; other possible values were tested in the constructor test
    }