public function setUp()
 {
     parent::setUp();
     $this->interpreter = new LogInterpreter();
     $this->printer = new ResultPrinter($this->interpreter);
     chdir(__DIR__);
     if (file_exists('myconfig.xml')) {
         unlink('myconfig.xml');
     }
     $this->passingSuiteWithWrongTestCountEsimation = $this->getSuiteWithResult('single-passing.xml', 1);
 }
 public function setUp()
 {
     parent::setUp();
     $this->interpreter = new LogInterpreter();
     $this->printer = new ResultPrinter($this->interpreter);
     $this->mockFunctions($this->errorSuite, 1);
     $this->mockFunctions($this->failureSuite, 3);
     $this->mockFunctions($this->mixedSuite, 7);
     $this->mockFunctions($this->passingSuite, 3);
     chdir(__DIR__);
     if (file_exists('myconfig.xml')) {
         unlink('myconfig.xml');
     }
 }
 public function setUp()
 {
     parent::setUp();
     $this->interpreter = new LogInterpreter();
     $this->interpreter->addReader($this->getReader('mixedSuite'))->addReader($this->getReader('passingSuite'));
 }