PopTest\Mvc\ControllerTest::testSetAndGetViewPath PHP Method

testSetAndGetViewPath() public method

    public function testSetAndGetViewPath()
    {
        $c = new Controller();
        $c->setViewPath('/admin');
        $this->assertEquals('/admin', $c->getViewPath());
        $this->assertNull($c->getView());
    }