Esempio n. 1
0
 public function setUp()
 {
     $this->em = new EventManager();
     $this->console = new ConsoleAdapter();
     $this->console->setCharset(new Ascii());
     $this->reporter = new BasicConsole($this->console);
     $this->em->attachAggregate($this->reporter);
 }
Esempio n. 2
0
 public function setUp()
 {
     $this->em = new EventManager();
     $this->listener = new RunListener();
     $this->em->attachAggregate($this->listener);
     $this->oldPHPUnitNoticeSetting = \PHPUnit_Framework_Error_Notice::$enabled;
     $this->oldPHPUnitWarningSetting = \PHPUnit_Framework_Error_Warning::$enabled;
 }