Inheritance: implements Google\Cloud\Speech\Connection\ConnectionInterface, use trait Google\Cloud\RestTrait, use trait Google\Cloud\UriTrait
 /**
  * @dataProvider methodProvider
  * @todo revisit this approach
  */
 public function testCallBasicMethods($method)
 {
     $options = [];
     $request = new Request('GET', '/somewhere');
     $response = new Response(200, [], $this->successBody);
     $requestBuilder = $this->prophesize(RequestBuilder::class);
     $requestBuilder->build(Argument::type('string'), Argument::type('string'), Argument::type('array'))->willReturn($request);
     $this->requestWrapper->send(Argument::type(RequestInterface::class), Argument::type('array'))->willReturn($response);
     $rest = new Rest();
     $rest->setRequestBuilder($requestBuilder->reveal());
     $rest->setRequestWrapper($this->requestWrapper->reveal());
     $this->assertEquals(json_decode($this->successBody, true), $rest->{$method}($options));
 }