/** * @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 setTrashed($trashed) { $this->__initializer__ && $this->__initializer__->__invoke($this, 'setTrashed', array($trashed)); return parent::setTrashed($trashed); }