You are here

public function MockHttpClient::send in Video Embed Field 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/MockHttpClient.php \Drupal\Tests\video_embed_field\Kernel\MockHttpClient::send()

File

tests/src/Kernel/MockHttpClient.php, line 21

Class

MockHttpClient
An exceptional HTTP client mock.

Namespace

Drupal\Tests\video_embed_field\Kernel

Code

public function send(RequestInterface $request, array $options = []) {
  throw new \Exception(static::EXCEPTION_MESSAGE);
}