public function setUp() { parent::setUp(); $this->logger = new Logger\SpyLogger(); $this->normalizer = $this->getMock(Normalizer::class); $this->registry = new DriverRegistry($this->normalizer, $this->logger); }
public function setUp() { parent::setUp(); remove_filter(magnify_hook('driver_enabled'), '_magnify_disable_inactive_drivers'); $this->logger = new Logger\SpyLogger(); $this->driver = $this->getMock(Driver::class); $this->normalizer = $this->getMock(Normalizer::class); $this->handler = new SyncHandler($this->driver, $this->normalizer, $this->logger); $this->handler->connect(); }