/** * @dataProvider providerXPath */ public function testXPath($path, $expected_return, $expected_result) { $return = Arrays::xPath($this->xPathData, $path, $result); $this->assertEquals( $expected_return, $return, "Returned boolean does not fit to test case." ); $this->assertEquals( $expected_result, $result, "Result does not fit to test case." ); }