Exemplo n.º 1
0
 /**
  * @test
  */
 public function removeLanguageFromObjectStorageHoldingLanguages()
 {
     $language = new \GK\Stdapp\Domain\Model\Language();
     $localObjectStorage = new \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage();
     $localObjectStorage->attach($language);
     $localObjectStorage->detach($language);
     $this->fixture->addLanguage($language);
     $this->fixture->removeLanguage($language);
     $this->assertEquals($localObjectStorage, $this->fixture->getLanguages());
 }