PhroznTest\Runner\CommandLine\Callback\HelpTest::setUp PHP Method

setUp() public method

public setUp ( )
    public function setUp()
    {
        // paths
        $base = realpath(dirname(__FILE__) . '/../../../../../') . '/';
        $this->paths = $paths = array('app' => $base, 'bin' => $base . 'bin/', 'lib' => $base . 'library/', 'configs' => $base . 'configs/', 'skeleton' => $base . 'skeleton/');
        $this->outputter = new Outputter($this);
        $runner = new Callback();
        $data['paths'] = $paths;
        // inject paths
        $runner->setOutputter($this->outputter)->setConfig($data);
        $this->runner = $runner;
        // setup parser
        $this->parser = new Parser($paths);
    }