Phprest\ApplicationTest::testRegisterController PHP Метод

testRegisterController() публичный Метод

    public function testRegisterController()
    {
        $this->app->registerController('\\Phprest\\Stub\\Controller\\Simple');
        $this->assertInstanceOf('\\Phprest\\Stub\\Controller\\Simple', $this->app->getContainer()->get('\\Phprest\\Stub\\Controller\\Simple'));
    }