You are here

protected function PhpStorageTestBase::additionalAssertCRUD in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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 78
Contains \Drupal\Tests\Component\PhpStorage\PhpStorageTestBase.

Class

PhpStorageTestBase
Base test for PHP storages.

Namespace

Drupal\Tests\Component\PhpStorage

Code

protected function additionalAssertCRUD(PhpStorageInterface $php, $name) {

  // By default do not do any additional asserts. This is a way of extending
  // tests in contrib.
}