spec\Coduo\TuTu\Request\MethodMatchingPolicySpec::it_return_false_when_request_method_is_not_in_response_config_allowed_methods PHP Метод

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

    function it_return_false_when_request_method_is_not_in_response_config_allowed_methods()
    {
        $responseConfig = Element::fromArray(['request' => ['path' => '/foo', 'methods' => ['POST']]]);
        $request = Request::create('/foo', 'GET');
        $this->match($request, $responseConfig)->shouldReturn(false);
    }