public function RawTest::testWithUnexpectedInput in Search API Location 8
Tests with unexpected input.
@covers ::getParsedInput
File
- tests/
src/ Kernel/ RawTest.php, line 69
Class
- RawTest
- Tests RawTest plugin parsing.
Namespace
Drupal\Tests\search_api_location\KernelCode
public function testWithUnexpectedInput() {
$input = [
'animal' => 'llama',
];
$this
->expectException(\InvalidArgumentException::class);
$this->sut
->getParsedInput($input);
}