public function testDateProperty() { $date = new \DateTime(); $this->match->setDate($date); $this->assertSame($date, $this->match->getDate()); }