public function StemmerTest::testProcess in Search API 8
Tests the process() method.
@covers ::process
@dataProvider processDataProvider
Parameters
string $passed_value: The value that should be passed into process().
string $expected_value: The expected processed value.
File
- tests/
src/ Unit/ Processor/ StemmerTest.php, line 182
Class
- StemmerTest
- Tests the "Stemmer" processor.
Namespace
Drupal\Tests\search_api\Unit\ProcessorCode
public function testProcess($passed_value, $expected_value) {
$this
->invokeMethod('process', [
&$passed_value,
]);
$this
->assertEquals($passed_value, $expected_value);
}