public function testGetsType() { $date = new Date(new \DateTime()); $this->assertEquals('DATE', $date->type()); }