protected function setUp() { $container = new Container('php://memory', 'php://memory', 'Bookdown\\Bookdown\\FakeFsio'); $this->logger = $container->getLogger(); $this->fsio = $container->getFsio(); $this->setUpFsio(); $collector = $container->newCollector(); $this->root = $collector('/path/to/bookdown.json'); $this->processes = array(new FakeProcess(), new FakeProcess(), new FakeProcess()); }
protected function setUp() { $container = new Container('php://memory', 'php://memory', 'Bookdown\\Bookdown\\FakeFsio'); $bookFixture = new BookFixture($container->getFsio()); $this->collector = $container->newCollector(); }