Pinq\Tests\Integration\Caching\CacheTest::testThatCacheDoesNotRemoveValuesOutsideOfNamespace PHP Метод

testThatCacheDoesNotRemoveValuesOutsideOfNamespace() публичный Метод

    public function testThatCacheDoesNotRemoveValuesOutsideOfNamespace()
    {
        $this->cache->save('not-in-namespace', true);
        $this->namespacedCache->remove('not-in-namespace');
        $this->assertTrue($this->cache->contains('not-in-namespace'));
        $this->assertFalse($this->namespacedCache->contains('not-in-namespace'));
    }