PPI\FrameworkTest\AppTest::testRunWithControllerInvokeAction PHP Method

testRunWithControllerInvokeAction() public method

    public function testRunWithControllerInvokeAction()
    {
        $app = new AppForDispatchTest(array('environment' => 'test', 'debug' => true, 'rootDir' => __DIR__));
        $this->controllerUnderTest = new ControllerForAppTest();
        $app = $this->setupAppMocks($app, $this->setupMockRouter(), $this->setupMockControllerResolver());
        $request = HttpRequest::createFromGlobals();
        $response = new HttpResponse();
        $output = $this->runApp($app, $request, $response);
        $this->assertEquals($output, 'Working Response From Controller Invoke Action');
    }