Example #1
0
 /**
  * @covers Core\Entity\Teacher::setTrashed
  * @covers Core\Entity\Teacher::getTrashed
  */
 public function testSetGetTrashed()
 {
     $trashedInt = 1;
     $this->teacher->setTrashed($trashedInt);
     $this->assertEquals($trashedInt, $this->teacher->getTrashed());
     $trashedString = "A";
     $this->teacher->setTrashed($trashedString);
     $this->assertNotEquals($trashedString, $this->teacher->getTrashed());
 }
 /**
  * {@inheritDoc}
  */
 public function getTrashed()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getTrashed', array());
     return parent::getTrashed();
 }