/** * @test */ public function removeParticipationFromObjectStorageHoldingParticipations() { $participation = new Tx_Nbowishlist_Domain_Model_Participation(); $localObjectStorage = new Tx_Extbase_Persistence_ObjectStorage(); $localObjectStorage->attach($participation); $localObjectStorage->detach($participation); $this->fixture->addParticipation($participation); $this->fixture->removeParticipation($participation); $this->assertEquals($localObjectStorage, $this->fixture->getParticipations()); }