Gc\Mvc\Controller\ActionTest::setUp PHP Method

setUp() protected method

This method is called before a test is executed.
protected setUp ( ) : void
return void
    protected function setUp()
    {
        $this->object = new Action();
        $this->object->setEvent(Registry::get('Application')->getMvcEvent());
        $this->object->setServiceLocator(Registry::get('Application')->getServiceManager());
    }