/** * * Generates a new testDatafile object from a given xml file path * @param string $dataFilePath * @return testDataFile - new TestDataFile object */ public static function generateFromDataXml($dataFilePath) { $testDataFile = new KalturaUnitTestDataFile(); $testDataFile->fromDataXml($dataFilePath); return $testDataFile; }