You are here

public function TagadelicTagTest::setUp in Tagadelic 8.3

Overrides UnitTestCase::setUp

File

tests/src/Unit/TagadelicTagTest.php, line 29
Contains \Drupal\Tests\tagadelic\Unit\TagadelicTagTest.

Class

TagadelicTagTest
@coversDefaultClass \Drupal\tagadelic\TagadelicTag @group tagadelic

Namespace

Drupal\Tests\tagadelic\Unit

Code

public function setUp() {
  parent::setUp();
  $this->object = new \Drupal\tagadelic\TagadelicTag(42, "blackbeard", 2);
  $this->object
    ->setDescription('Testing description');
}