protected function GenericCacheBackendUnitTestBase::getTestBin

Gets the testing bin.

Override this method if you want to work on a different bin than the default one.

Return value

string Bin name.

1 call to GenericCacheBackendUnitTestBase::getTestBin()
GenericCacheBackendUnitTestBase::getCacheBackend in drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php
Gets a backend to test; this will get a shared instance set in the object.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php, line 57
Definition of Drupal\system\Tests\Cache\GenericCacheBackendUnitTestBase.

Class

GenericCacheBackendUnitTestBase
Tests any cache backend.

Namespace

Drupal\system\Tests\Cache

Code

protected function getTestBin() {
  if (!isset($this->testBin)) {
    $this->testBin = 'page';
  }
  return $this->testBin;
}