You are here

public function WebAssert::fieldNotExists in Drupal 10

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/WebAssert.php \Drupal\Tests\WebAssert::fieldNotExists()

File

core/tests/Drupal/Tests/WebAssert.php, line 987

Class

WebAssert
Defines a class with methods for asserting presence of elements during tests.

Namespace

Drupal\Tests

Code

public function fieldNotExists($field, TraversableElement $container = NULL) {
  assert(func_num_args() <= 2);
  return parent::fieldNotExists($field, $container);
}