Esempio n. 1
0
 /**
  * @test
  */
 public function setLanguagesForObjectStorageContainingLanguageSetsLanguages()
 {
     $language = new \GK\Stdapp\Domain\Model\Language();
     $objectStorageHoldingExactlyOneLanguages = new \TYPO3\CMS\Extbase\Persistence\Generic\ObjectStorage();
     $objectStorageHoldingExactlyOneLanguages->attach($language);
     $this->fixture->setLanguages($objectStorageHoldingExactlyOneLanguages);
     $this->assertSame($objectStorageHoldingExactlyOneLanguages, $this->fixture->getLanguages());
 }