/** * @dataProvider replicationLogsProvider */ public function testCompareReplicationLogs($sourceLog, $targetLog, $expectedSequence) { $task = new ReplicationTask(); $replication = new Replication($this->source, $this->target, $task); $this->assertEquals($expectedSequence, $replication->compareReplicationLogs($sourceLog, $targetLog)); }