spec\Coduo\TuTu\Request\ParameterMatchingPolicySpec::it_match_when_request_config_query_and_body_parameters_match_parameters_from_request PHP Метод

it_match_when_request_config_query_and_body_parameters_match_parameters_from_request() публичный Метод

    function it_match_when_request_config_query_and_body_parameters_match_parameters_from_request()
    {
        $responseConfig = Element::fromArray(['request' => ['path' => '/foo', 'query' => ['foo' => 'bar'], 'request' => ['foo' => 'bar']]]);
        $request = Request::create('/foo?foo=bar', 'POST', ['foo' => 'bar']);
        $this->match($request, $responseConfig)->shouldReturn(true);
    }