public function HttpClientTest::testCallWithWrongCommandName in HTTP Client Manager 8.2
Same name and namespace in other branches
- 8 tests/src/Unit/HttpClientTest.php \Drupal\Tests\http_client_manager\Unit\HttpClientTest::testCallWithWrongCommandName()
Tests HttpClient::call() with wrong command name.
@covers ::call
@expectedException \InvalidArgumentException @expectedExceptionMessage No operation found named Missing
File
- tests/
src/ Unit/ HttpClientTest.php, line 120
Class
- HttpClientTest
- Class HttpClientTest.
Namespace
Drupal\Tests\http_client_manager\UnitCode
public function testCallWithWrongCommandName() {
$this->client
->call('Missing');
}