public function responseHeaderContains($name, $value)
    {
        $actual = $this->session->getResponseHeader($name);
        $message = sprintf('The text "%s" was not found anywhere in the "%s" response header.', $value, $name);

        $this->assert(false !== stripos($actual, $value), $message);
    }
public function responseHeaderContains($name, $value)
    {
        $actual = $this->session->getResponseHeader($name);
        $message = sprintf('The text "%s" was not found anywhere in the "%s" response header.', $value, $name);

        $this->assert(false !== stripos($actual, $value), $message);
    }
public function responseHeaderContains ( $ name , $ value ) { $ actual = $ this -> session -> getResponseHeader ( $ name ) ; $ message = sprintf ( 'The text "%s" was not found anywhere in the "%s" response header.' , $ value , $ name ) ; $ this -> assert ( false !== stripos ( $ actual , $ value ) , $ message ) ; }
Checks that current response header contains value.

@param string $name
@param string $value

@throws ExpectationException
Checks that current response header contains value .