public function GroupPermissionTest::testGetTitle in Organic groups 8
Tests getting the title property of a permission.
@covers ::getTitle
@dataProvider groupPermissionProvider
Parameters
array $values: Associative array of test values, keyed by property name.
File
- tests/
src/ Unit/ GroupPermissionTest.php, line 126
Class
- GroupPermissionTest
- Group permissions tests.
Namespace
Drupal\Tests\og\UnitCode
public function testGetTitle(array $values) {
$permission = new GroupPermission($values);
$this
->assertEquals($values['title'], $permission
->getTitle());
}