public function GroupTypeManagerTest::testInstance in Organic groups 8
Tests getting an instance of the group manager.
@covers ::__construct
File
- tests/
src/ Unit/ GroupTypeManagerTest.php, line 150
Class
- GroupTypeManagerTest
- Tests the group manager.
Namespace
Drupal\Tests\og\UnitCode
public function testInstance() {
// Just creating an instance should be lightweight, no methods should be
// called.
$group_manager = $this
->createGroupManager();
$this
->assertInstanceOf(GroupTypeManagerInterface::class, $group_manager);
}