public function FileCacheFactoryTest::testGetSetPrefix in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php \Drupal\Tests\Component\FileCache\FileCacheFactoryTest::testGetSetPrefix()
@covers ::getPrefix @covers ::setPrefix
File
- core/
tests/ Drupal/ Tests/ Component/ FileCache/ FileCacheFactoryTest.php, line 89 - Contains \Drupal\Tests\Component\FileCache\FileCacheFactoryTest.
Class
- FileCacheFactoryTest
- @coversDefaultClass \Drupal\Component\FileCache\FileCacheFactory @group FileCache
Namespace
Drupal\Tests\Component\FileCacheCode
public function testGetSetPrefix() {
$prefix = $this
->randomMachineName();
FileCacheFactory::setPrefix($prefix);
$this
->assertEquals($prefix, FileCacheFactory::getPrefix());
}