public function SubformStateTest::testGetValueBroken in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Form/SubformStateTest.php \Drupal\Tests\Core\Form\SubformStateTest::testGetValueBroken()
- 9 core/tests/Drupal/Tests/Core/Form/SubformStateTest.php \Drupal\Tests\Core\Form\SubformStateTest::testGetValueBroken()
@covers ::getValue
@dataProvider providerTestGetValueBroken
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ SubformStateTest.php, line 168
Class
- SubformStateTest
- @coversDefaultClass \Drupal\Core\Form\SubformState
Namespace
Drupal\Tests\Core\FormCode
public function testGetValueBroken(array $parents, $key, $expected, $default = NULL) {
$this
->expectException(\UnexpectedValueException::class);
$this
->testGetValue($parents, $key, $expected, $default);
}