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