You are here

protected function StopwordsTest::setUp in Search API 8

Creates a new processor object for use in the tests.

Overrides UnitTestCase::setUp

File

tests/src/Unit/Processor/StopwordsTest.php, line 23

Class

StopwordsTest
Tests the "Stopwords" processor.

Namespace

Drupal\Tests\search_api\Unit\Processor

Code

protected function setUp() {
  parent::setUp();
  $this
    ->setUpMockContainer();
  $this->processor = new Stopwords([], 'stopwords', []);
}