public function FlagForListTest::testCreate in Flag Lists 8
Same name and namespace in other branches
- 4.0.x tests/src/Unit/FlagForListTest.php \Drupal\Tests\flag_lists\Unit\FlagForListTest::testCreate()
Test the creating of FlagForLists.
File
- tests/
src/ Unit/ FlagForListTest.php, line 18
Class
- FlagForListTest
- Tests the FlagForLists class.
Namespace
Drupal\Tests\flag_lists\UnitCode
public function testCreate() {
$flagForList = new flagForList([], '');
$this
->assertInstanceOf(FlagForList::class, $flagForList);
}