lithium\tests\cases\net\http\MessageTest::testMultiValueHeader PHP Method

testMultiValueHeader() public method

    public function testMultiValueHeader()
    {
        $this->message->headers(array('Cache-Control' => array('no-store, no-cache, must-revalidate', 'post-check=0, pre-check=0', 'max-age=0')));
        $expected = array('Cache-Control: no-store, no-cache, must-revalidate', 'Cache-Control: post-check=0, pre-check=0', 'Cache-Control: max-age=0');
        $result = $this->message->headers();
        $this->assertEqual($expected, $result);
    }