You are here

FlagForListTest.php in Flag Lists 8

Same filename and directory in other branches
  1. 4.0.x tests/src/Unit/FlagForListTest.php

File

tests/src/Unit/FlagForListTest.php
View 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

Namesort descending Description
FlagForListTest Tests the FlagForLists class.