/** * Tests if arrays are compared as expected. * * @param array $array1 Array compare to. * @param array $array2 Array against. * @param array $expected Expected result. * * @dataProvider getTestSymDiffData */ public function testSymDiff($array1, $array2, $expected) { $tool = new MappingTool(); $diff = $tool->symDifference($array1, $array2); $this->assertEquals($expected, $diff); }