Beispiel #1
0
 /**
  * @test
  */
 public function removeTagFromObjectStorageHoldingTags()
 {
     $tag = new Tx_Nxshowroom_Domain_Model_Tags();
     $localObjectStorage = new Tx_Extbase_Persistence_ObjectStorage();
     $localObjectStorage->attach($tag);
     $localObjectStorage->detach($tag);
     $this->fixture->addTag($tag);
     $this->fixture->removeTag($tag);
     $this->assertEquals($localObjectStorage, $this->fixture->getTags());
 }