lithium\tests\cases\net\http\ResponseTest::testTypePriority PHP Method

testTypePriority() public method

public testTypePriority ( )
    public function testTypePriority()
    {
        /* Decide what to do with this */
        return "Is this test correct?";
        $response = new Response(array('message' => "Content-type: text/x-test-a\r\n\r\nfoo", 'type' => 'text/x-test-b', 'headers' => array('Content-Type' => 'text/x-test-c')));
        $this->assertEqual('text/x-test-c', $response->type());
        $response = new Response(array('message' => "Content-type: text/x-test-a\r\n\r\nfoo", 'type' => 'text/x-test-b'));
        $this->assertEqual('text/x-test-b', $response->type());
    }