public function HeaderTest::testHeader in Auth0 Single Sign On 8.2
File
- vendor/
auth0/ auth0-php/ tests/ API/ Header/ HeaderTest.php, line 14
Class
Namespace
Auth0\TestsCode
public function testHeader() {
$headerName = 'HEADERNAME';
$value = 'THISISTHEVALUE';
$header = new Header($headerName, $value);
$this
->assertEquals($headerName, $header
->getHeader());
$this
->assertEquals($value, $header
->getValue());
$this
->assertEquals("{$headerName}: {$value}\n", $header
->get());
}