/** * @test */ public function setTagsForObjectStorageContainingTx_Nxshowroom_Domain_Model_TagsSetsTags() { $tag = new Tx_Nxshowroom_Domain_Model_Tags(); $objectStorageHoldingExactlyOneTags = new Tx_Extbase_Persistence_ObjectStorage(); $objectStorageHoldingExactlyOneTags->attach($tag); $this->fixture->setTags($objectStorageHoldingExactlyOneTags); $this->assertSame($objectStorageHoldingExactlyOneTags, $this->fixture->getTags()); }