You are here

protected function StemmerTest::setUp in Snowball Stemmer 2.x

Same name in this branch
  1. 2.x tests/src/Unit/StemmerTest.php \Drupal\Tests\snowball_stemmer\Unit\StemmerTest::setUp()
  2. 2.x tests/src/Unit/Plugin/Processor/StemmerTest.php \Drupal\Tests\snowball_stemmer\Unit\Plugin\Processor\StemmerTest::setUp()
Same name and namespace in other branches
  1. 8 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();
}