Example #1
0
 /**
  * @covers ::merge
  * @dataProvider mergeDataProvider
  */
 public function testMerge($data, $data_to_merge, $merged_data)
 {
     // Set initial data.
     $this->config->setData($data);
     // Data to merge.
     $this->config->merge($data_to_merge);
     // Check that data has merged correctly.
     $this->assertEquals($merged_data, $this->config->getRawData());
 }