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