PopTest\Http\ResponseTest::testConstructorException PHP Method

testConstructorException() public method

    public function testConstructorException()
    {
        $this->setExpectedException('Pop\\Http\\Exception');
        $r = new Response(601, array('Content-Type' => 'text/plain'));
    }