PopTest\Mvc\ControllerTest::testDispatchException PHP Method

testDispatchException() public method

    public function testDispatchException()
    {
        $this->setExpectedException('Pop\\Mvc\\Exception');
        $c = new Controller();
        $c->dispatch();
    }