You are here

public function IgnoreCaseTest::testProcess in Search API 8

Tests the process() method.

@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/IgnoreCaseTest.php, line 41

Class

IgnoreCaseTest
Tests the "Ignore case" processor.

Namespace

Drupal\Tests\search_api\Unit\Processor

Code

public function testProcess($passed_value, $expected_value) {
  $this
    ->invokeMethod('process', [
    &$passed_value,
  ]);
  $this
    ->assertEquals($passed_value, $expected_value);
}