예제 #1
0
 /**
  * @test
  */
 public function removeMessageFromObjectStorageHoldingMessages()
 {
     $message = new \GK\Stdapp\Domain\Model\Message();
     $localObjectStorage = new \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage();
     $localObjectStorage->attach($message);
     $localObjectStorage->detach($message);
     $this->fixture->addMessage($message);
     $this->fixture->removeMessage($message);
     $this->assertEquals($localObjectStorage, $this->fixture->getMessages());
 }