protected function PhpStorageTestBase::additionalAssertCRUD in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Component/PhpStorage/PhpStorageTestBase.php \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase::additionalAssertCRUD()
Additional asserts to be run.
Parameters
\Drupal\Component\PhpStorage\PhpStorageInterface $php: The PHP storage object.
string $name: The name of an object. It should exist in the storage.
1 call to PhpStorageTestBase::additionalAssertCRUD()
- PhpStorageTestBase::assertCRUD in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ PhpStorageTestBase.php - Assert that a PHP storage's load/save/delete operations work.
File
- core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ PhpStorageTestBase.php, line 77
Class
- PhpStorageTestBase
- Base test for PHP storages.
Namespace
Drupal\Tests\Component\PhpStorageCode
protected function additionalAssertCRUD(PhpStorageInterface $php, $name) {
// By default do not do any additional asserts. This is a way of extending
// tests in contrib.
}