コード例 #1
0
 /**
  * AbstractManagerTest constructor.
  */
 public function __construct()
 {
     parent::__construct();
     $this->eventDispatcher = new EventDispatcher();
     // Configure a null logger to suppress unwanted output
     $this->logger = new Logger('TestLogger');
     $this->logger->setHandlers([new NullHandler()]);
     // Configure a single test instance
     $this->configuration = ConfigurationParser::parseConfiguration(new ArrayReader($this->getBaseConfiguration()));
 }