public function GeocodeTest::testWithUnexpectedInput in Search API Location 8
Tests with invalid input.
@covers ::getParsedInput
File
- modules/
search_api_location_geocoder/ tests/ src/ Kernel/ GeocodeTest.php, line 93
Class
- GeocodeTest
- Test for the geocode plugin.
Namespace
Drupal\Tests\search_api_location_geocoder\KernelCode
public function testWithUnexpectedInput() {
$input = [
'animal' => 'llama',
];
$this
->expectException(\InvalidArgumentException::class);
$this->sut
->getParsedInput($input);
}