public function setUp() { parent::setUp(); $this->gtidCollection = new GtidCollection(); $this->gtidCollection->add(new Gtid('9b1c8d18-2a76-11e5-a26b-000c2976f3f3:1-177592')); $this->gtidCollection->add(new Gtid('BBBBBBBB-CCCC-FFFF-DDDD-AAAAAAAAAAAA:1')); }
public function setUp() { parent::setUp(); // TODO: Change the autogenerated stub $this->connection = $this->getMockBuilder(Connection::class)->disableOriginalConstructor()->getMock(); $this->mySQLRepositoryTest = new MySQLRepository($this->connection); }
public function setUp() { parent::setUp(); $this->config = $this->getMockBuilder(Config::class)->disableOriginalConstructor()->getMock(); $this->repository = $this->getMockBuilder(RepositoryInterface::class)->disableOriginalConstructor()->getMock(); $this->binaryDataReader = $this->getMockBuilder(BinaryDataReader::class)->disableOriginalConstructor()->getMock(); $this->eventInfo = $this->getMockBuilder(EventInfo::class)->disableOriginalConstructor()->getMock(); $this->jsonBinaryDecoderFactory = $this->getMockBuilder(JsonBinaryDecoderFactory::class)->disableOriginalConstructor()->getMock(); $this->rowEvent = new RowEvent($this->config, $this->repository, $this->binaryDataReader, $this->eventInfo, $this->jsonBinaryDecoderFactory); }
public function setUp() { parent::setUp(); $this->gtidService = new GtidService(); }