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