You are here

protected function StemmerTest::setUp in Snowball Stemmer 8

Same name in this branch
  1. 8 tests/src/Unit/StemmerTest.php \Drupal\Tests\snowball_stemmer\Unit\StemmerTest::setUp()
  2. 8 tests/src/Unit/Plugin/Processor/StemmerTest.php \Drupal\Tests\snowball_stemmer\Unit\Plugin\Processor\StemmerTest::setUp()
Same name and namespace in other branches
  1. 2.x tests/src/Unit/StemmerTest.php \Drupal\Tests\snowball_stemmer\Unit\StemmerTest::setUp()

Create new object for Stemmer.

Overrides UnitTestCase::setUp

File

tests/src/Unit/StemmerTest.php, line 22

Class

StemmerTest
Test Snowball Stemmer class wrapping.

Namespace

Drupal\Tests\snowball_stemmer\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->stemmer = new Stemmer();
}