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