/** * @covers Core\Entity\SubjectRound::setCreatedAt * @covers Core\Entity\SubjectRound::getCreatedAt */ public function testSetGetCreatedAt() { $dt = new DateTime(); $this->subjectRound->setCreatedAt($dt); $this->assertEquals($dt, $this->subjectRound->getCreatedAt()); }
/** * {@inheritDoc} */ public function setCreatedAt(\DateTime $createdAt) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt)); return parent::setCreatedAt($createdAt); }