Пример #1
0
 protected function setUp()
 {
     $this->cache = $this->createDir();
     $this->dir = $this->createDir();
     $this->collector = new ResourceCollector();
     $this->loader = new PhpFileLoader(new FileLocator($this->dir));
     $this->processor = new TestProcessor();
     $this->wise = new Wise(true);
     $this->loader->setResourceCollector($this->collector);
 }