Пример #1
0
 /**
  * @test
  */
 public function removeUsergroupRemovesUsergroup()
 {
     $usergroup = new \TYPO3\CMS\Extbase\Domain\Model\FrontendUserGroup('foo');
     $this->fixture->addUsergroup($usergroup);
     $this->assertEquals(count($this->fixture->getUsergroup()), 1);
     $this->fixture->removeUsergroup($usergroup);
     $this->assertEquals(count($this->fixture->getUsergroup()), 0);
 }