FlagForListTest.php in Flag Lists 8
Same filename and directory in other branches
Namespace
Drupal\Tests\flag_lists\UnitFile
tests/src/Unit/FlagForListTest.phpView source
<?php
namespace Drupal\Tests\flag_lists\Unit;
use Drupal\flag_lists\Entity\FlagForList;
use Drupal\Tests\UnitTestCase;
/**
* Tests the FlagForLists class.
*
* @group flag_lists
*/
class FlagForListTest extends UnitTestCase {
/**
* Test the creating of FlagForLists.
*/
public function testCreate() {
$flagForList = new flagForList([], '');
$this
->assertInstanceOf(FlagForList::class, $flagForList);
}
}
Classes
Name | Description |
---|---|
FlagForListTest | Tests the FlagForLists class. |