for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* UriFrontendTest
*/
namespace FRUIT\FlRealurlImage\Tests\Unit\Cache;
use FRUIT\FlRealurlImage\Cache\UriFrontend;
use TYPO3\CMS\Core\Cache\Backend\Typo3DatabaseBackend;
use TYPO3\CMS\Core\Tests\UnitTestCase;
class UriFrontendTest extends UnitTestCase
{
* @test
public function cacheIdentifierIsAlwaysValid()
$dbBackend = new Typo3DatabaseBackend('Production');
$cacheFrontend = new UriFrontend('test', $dbBackend);
$this->assertEquals(true, $cacheFrontend->isValidEntryIdentifier('Strange code here'));
}