InfluxDB\Test\ClientTest::doTestResponse PHP Метод

doTestResponse() защищенный Метод

protected doTestResponse ( string $responseFile, array $result, string $method )
$responseFile string
$result array
$method string
    protected function doTestResponse($responseFile, array $result, $method)
    {
        $client = $this->getClient();
        $bodyResponse = file_get_contents(dirname(__FILE__) . '/json/' . $responseFile);
        $httpMockClient = $this->buildHttpMockClient($bodyResponse);
        $client->setDriver(new Guzzle($httpMockClient));
        $this->assertEquals($result, $client->{$method}());
    }