function it_resolve_config_when_matching_policy_match_request_to_response_config(Loader $loader, MatchingPolicy $matchingPolicy)
{
$loader->getResponsesArray()->willReturn([['request' => ['path' => '/foo/index', 'methods' => ['POST']]]]);
$request = Request::create('/foo/index', 'POST');
$matchingPolicy->match($request, Argument::type('Coduo\\TuTu\\Config\\Element'))->willReturn(true);
$this->resolveConfigElement($request)->shouldReturnAnInstanceOf('Coduo\\TuTu\\Config\\Element');
}