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