예제 #1
0
 /**
  * @test
  */
 public function setSubgroupSetsSubgroups()
 {
     $subgroup = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
     $group = new \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup('foo');
     $subgroup->attach($group);
     $this->subject->setSubgroup($subgroup);
     $this->assertSame($subgroup, $this->subject->getSubgroup());
 }