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

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

    public function testThatCacheSupportsArbitraryKeys()
    {
        $this->cache->save('val-~!@#$%^&*()_+3412-931|\\9rnf2{].>}{P.p[]:"?/,<>ujsdsd', true);
        $this->assertTrue($this->cache->contains('val-~!@#$%^&*()_+3412-931|\\9rnf2{].>}{P.p[]:"?/,<>ujsdsd'));
        $this->cache->remove('val-~!@#$%^&*()_+3412-931|\\9rnf2{].>}{P.p[]:"?/,<>ujsdsd');
        $this->assertFalse($this->cache->contains('val-~!@#$%^&*()_+3412-931|\\9rnf2{].>}{P.p[]:"?/,<>ujsdsd'));
    }