Laravel - HTTP Tests - Assert Header

Assert that the given header and value is present on the response:

    
    $response->assertHeader($headerName, $value = null);