Ejemplo n.º 1
0
 /**
  * @covers Core\Entity\Vocation::setCreatedAt
  * @covers Core\Entity\Vocation::getCreatedAt
  */
 public function testSetGetCreatedAt()
 {
     $dt = new DateTime();
     $this->vocation->setCreatedAt($dt);
     $this->assertEquals($dt, $this->vocation->getCreatedAt());
 }
 /**
  * {@inheritDoc}
  */
 public function setCreatedAt($createdAt)
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'setCreatedAt', array($createdAt));
     return parent::setCreatedAt($createdAt);
 }