public static function invalidResponseBody(ResponseInterface $response, $expectedPath)
    {
        $response->getBody()->rewind();
        return new static(sprintf(
            "Response body '%s' is missing the expected JSON path '%s'",
            $response->getBody()->getContents(),
            $expectedPath
        ));
    }