function it_match_when_request_body_match_config_body() { $responseConfig = Element::fromArray(['request' => ['path' => '/foo', 'headers' => [], 'body' => 'HELLO WORLD']]); $request = Request::create('/foo', 'GET', [], [], [], [], 'HELLO WORLD'); $this->match($request, $responseConfig)->shouldReturn(true); }