public function testCanCheckIfGroupExists($groups, $group, $exists) { $adapter = new ArrayAdapter([], $groups); $this->assertSame($exists, $adapter->groupExists($group)); }