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 }