public function RecursiveContextualValidatorTest::testValidatePropertyValueWithInvalidObjects in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php \Drupal\Tests\Core\TypedData\RecursiveContextualValidatorTest::testValidatePropertyValueWithInvalidObjects()
@covers ::validatePropertyValue
@dataProvider providerTestValidatePropertyWithInvalidObjects
@expectedException \InvalidArgumentException
File
- core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php, line 295 - Contains \Drupal\Tests\Core\TypedData\RecursiveContextualValidatorTest.
Class
- RecursiveContextualValidatorTest
- @coversDefaultClass \Drupal\Core\TypedData\Validation\RecursiveContextualValidator @group typedData
Namespace
Drupal\Tests\Core\TypedDataCode
public function testValidatePropertyValueWithInvalidObjects($object) {
$this->recursiveValidator
->validatePropertyValue($object, 'key1', [], NULL);
}