InterNations\Component\HttpMock\Tests\RequestCollectionFacadeTest::testRequestResponse_DeserializationError PHP Method

testRequestResponse_DeserializationError() public method

public testRequestResponse_DeserializationError ( $method, $path, array $args = [], $httpMethod = 'get' )
$args array
    public function testRequestResponse_DeserializationError($method, $path, array $args = [], $httpMethod = 'get')
    {
        $this->mockClient($path, $this->createResponseThatCannotBeDeserialized(), $httpMethod);
        $this->setExpectedException('UnexpectedValueException', 'Cannot deserialize response from "' . $path . '": "invalid response"');
        call_user_func_array([$this->facade, $method], $args);
    }