protected function assertConfigDiff(Diff
$result,
$config_name, array
$skipped_config) { foreach ($result->
getEdits() as $op) { switch (get_class($op)) { case 'Drupal\Component\Diff\Engine\DiffOpCopy':
// Nothing to do, a copy is what we expect.
break;
case 'Drupal\Component\Diff\Engine\DiffOpDelete':
case 'Drupal\Component\Diff\Engine\DiffOpChange':
// It is not part of the skipped config, so we can directly throw the
// exception.
if (!
in_array($config_name,
array_keys($skipped_config))) { throw new \
Exception($config_name . ': ' .
var_export($op, TRUE
));
}