PopTest\Http\ResponseTest::testConstructorException PHP Méthode

testConstructorException() public méthode

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