/**
  * @test
  */
 public function addTagToObjectStorageHoldingTags()
 {
     $tag = new \MUM\BjrFreizeit\Domain\Model\Tags();
     $tagsObjectStorageMock = $this->getMock('TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage', array('attach'), array(), '', FALSE);
     $tagsObjectStorageMock->expects($this->once())->method('attach')->with($this->equalTo($tag));
     $this->inject($this->subject, 'tags', $tagsObjectStorageMock);
     $this->subject->addTag($tag);
 }