/**
  * TODO: check if needed
  *  Finds the right test data by its inputs (id and type)
  * @param KalturaTestCaseDataFile $unitTestDataFile
  * @param array $failuresInputs
  * @return int - the KalturaTestCaseDataFile key or null for if non found
  */
 protected static function getTestKeyByInputs(KalturaTestCaseDataFile $unitTestDataFile, array $failuresInputs)
 {
     $testKey = null;
     foreach ($unitTestDataFile->getTestProceduresData() as $testProcedureKey => $testProcedureData) {
         foreach ($testProcedureData->getTestCasesData() as $key => $unitTestData) {
             $isAllInputsFound = KalturaTestResultUpdater::isAllFound($unitTestData->getInput(), $failuresInputs);
             $isAllOutputReferencesFound = KalturaTestResultUpdater::isAllFound($unitTestData->getOutputReferences(), $failuresInputs);
             if ($isAllInputsFound && $isAllOutputReferencesFound) {
                 $testKey = $key;
                 break;
             }
         }
         //If key is found then skip
         if (isset($testKey)) {
             break;
         }
     }
     return $testKey;
 }