public function responseHeaderEquals($name, $value)
    {
        $actual = $this->session->getResponseHeader($name);
        $message = sprintf('Current response header "%s" is "%s", but "%s" expected.', $name, $actual, $value);

        $this->assert($value === $actual, $message);
    }
public function responseHeaderEquals($name, $value)
    {
        $actual = $this->session->getResponseHeader($name);
        $message = sprintf('Current response header "%s" is "%s", but "%s" expected.', $name, $actual, $value);

        $this->assert($value === $actual, $message);
    }
public function responseHeaderEquals ( $ name , $ value ) { $ actual = $ this -> session -> getResponseHeader ( $ name ) ; $ message = sprintf ( 'Current response header "%s" is "%s", but "%s" expected.' , $ name , $ actual , $ value ) ; $ this -> assert ( $ value === $ actual , $ message ) ; }
Checks that current response header equals value.

@param string $name
@param string $value

@throws ExpectationException
Checks that current response header equals value .