public function theResponseContainsTheFollowingString(
        PyStringNode $string
    ) {
        $response = $this->getGuzzleResponse()->getBody(true);
        $formatted = $this->addStoredValues($string->getRaw());

        if (strpos($response, $formatted) === false) {
            throw new ClientErrorResponseException(
                'Actual response ' . $response . ' does not contain ' .
                'string ' . $formatted
            );
        }
    }