public function RemoveHtmlCommentsTest::testGetFilters in Twig - Remove HTML comments 8
@covers ::getFilters
File
- tests/
Unit/ RemoveHtmlCommentsTest.php, line 44
Class
- RemoveHtmlCommentsTest
- Tests the RemoveHtmlComments class.
Namespace
Drupal\Tests\twig_remove_html_comments\UnitCode
public function testGetFilters() : void {
$filters = $this->removeHtmlComments
->getFilters();
$this
->assertTrue(is_array($filters));
foreach ($filters as $filter) {
$this
->assertTrue($filter instanceof TwigFilter);
}
}