private function addDependentTestsToBatchSet(&$batches, $dependsOn, $tests)
{
foreach ($batches as $key => $batch) {
foreach ($batch as $methodName) {
if ($dependsOn === $methodName) {
$batches[$key] = array_merge($batches[$key], $tests);
continue;
}
}
}
}