public function negateParameters($name, $expected) {
    try {
      $value = \Drupal::getContainer()->getParameter($name);
      Assert::notEq($value, $this->castParameter($expected));
    }
    catch (ParameterNotFoundException $e) {
    }
  }