You are here

public function HtmlFilterTest::setUp in Search API 8

Creates a new processor object for use in the tests.

Overrides UnitTestCase::setUp

File

tests/src/Unit/Processor/HtmlFilterTest.php, line 27

Class

HtmlFilterTest
Tests the "HTML filter" processor.

Namespace

Drupal\Tests\search_api\Unit\Processor

Code

public function setUp() {
  parent::setUp();
  $this
    ->setUpMockContainer();
  $this->processor = new HtmlFilter([], 'html_filter', []);
}