/**
  * Test the mapping done in getMapping
  *
  * @dataProvider changesFeedProvider
  */
 public function testGetMapping($changes, $continuous, $expected)
 {
     $task = new ReplicationTask();
     $task->setContinuous($continuous);
     $replication = new Replication($this->source, $this->target, $task);
     $mapping = $replication->getMapping($changes);
     $this->assertEquals($expected, $mapping, 'Incorrect mapping in getMapping.');
 }