/** * @test */ public function setSubscribersForObjectStorageContainingTx_WoehrlSeminare_Domain_Model_SubscriberSetsSubscribers() { $subscriber = new Tx_WoehrlSeminare_Domain_Model_Subscriber(); $objectStorageHoldingExactlyOneSubscribers = new Tx_Extbase_Persistence_ObjectStorage(); $objectStorageHoldingExactlyOneSubscribers->attach($subscriber); $this->fixture->setSubscribers($objectStorageHoldingExactlyOneSubscribers); $this->assertSame($objectStorageHoldingExactlyOneSubscribers, $this->fixture->getSubscribers()); }