public function theResponseShouldNotContain($text)
    {
        $expectedRegexp = '/' . preg_quote($text) . '/';
        $actual = (string) $this->response->getBody();
        Assertions::assertNotRegExp($expectedRegexp, $actual);
    }
public function theResponseShouldNotContain($text)
    {
        $expectedRegexp = '/' . preg_quote($text) . '/';
        $actual = (string) $this->response->getBody();
        Assertions::assertNotRegExp($expectedRegexp, $actual);
    }
public function theResponseShouldNotContain ( $ text ) { $ expectedRegexp = '/' . preg_quote ( $ text ) . '/' ; $ actual = ( string ) $ this -> response -> getBody ( ) ; Assertions :: assertNotRegExp ( $ expectedRegexp , $ actual ) ; }
Checks that response body doesn't contains specific text.

@param string $text

@Then /^(?:the )?response should not contain "([^"]*)"$/
Checks that response body doesn t contains specific text .