/** * @dataProvider getRootEntityProvider */ public function testGetRootEntity($data, $expectedValue) { $resultRecord = new ResultRecord($data); $this->assertEquals($expectedValue, $resultRecord->getRootEntity()); }