lithium\tests\cases\console\command\g11n\ExtractTest::setUp PHP Метод

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

public setUp ( )
    public function setUp()
    {
        $this->_backup['catalogConfig'] = Catalog::config();
        Catalog::reset();
        $this->command = new Extract(array('request' => new Request(array('input' => fopen('php://temp', 'w+'))), 'classes' => array('response' => 'lithium\\tests\\mocks\\console\\MockResponse')));
        mkdir($this->command->source = "{$this->_path}/source");
        mkdir($this->command->destination = "{$this->_path}/destination");
    }