groupExists() public method

public groupExists ( $groupName )
Example #1
0
 /**
  * @dataProvider getGroups
  * @covers Imbo\Auth\AccessControl\Adapter\ArrayAdapter::groupExists
  */
 public function testCanCheckIfGroupExists($groups, $group, $exists)
 {
     $adapter = new ArrayAdapter([], $groups);
     $this->assertSame($exists, $adapter->groupExists($group));
 }