コード例 #1
0
ファイル: CustomerTest.php プロジェクト: smalljimmy/DCSA
 /**
  * @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());
 }