Bluz\Tests\Response\ResponseTest::testRemoveHeaders PHP Method

testRemoveHeaders() public method

public testRemoveHeaders ( )
    public function testRemoveHeaders()
    {
        $this->response->addHeader('foo', 'bar');
        $this->response->addHeader('baz', 'qux');
        $this->response->removeHeaders();
        $this->assertFalse($this->response->hasHeader('foo'));
        $this->assertFalse($this->response->hasHeader('baz'));
    }