public function SessionTest::testGetResponseHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/SessionTest.php \Behat\Mink\Tests\SessionTest::testGetResponseHeader()
@dataProvider provideResponseHeader
File
- vendor/
behat/ mink/ tests/ SessionTest.php, line 136
Class
Namespace
Behat\Mink\TestsCode
public function testGetResponseHeader($expected, $name, array $headers) {
$this->driver
->expects($this
->once())
->method('getResponseHeaders')
->willReturn($headers);
$this
->assertSame($expected, $this->session
->getResponseHeader($name));
}