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