You are here

protected function RemoveHtmlCommentsTest::setUp in Twig - Remove HTML comments 8

Sets up to object to test.

Overrides UnitTestCase::setUp

File

tests/Unit/RemoveHtmlCommentsTest.php, line 28

Class

RemoveHtmlCommentsTest
Tests the RemoveHtmlComments class.

Namespace

Drupal\Tests\twig_remove_html_comments\Unit

Code

protected function setUp() : void {
  parent::setUp();
  $this->removeHtmlComments = new RemoveHtmlComments();
}