spec\LdapTools\Cache\DoctrineCacheSpec::it_should_be_case_insensitive_when_looking_up_an_item_in_the_cache PHP Метод

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

    function it_should_be_case_insensitive_when_looking_up_an_item_in_the_cache()
    {
        $this->setCacheFolder($this->testCacheDir);
        $item = new LdapObjectSchema('foo', 'bar');
        $this->set($item);
        $this->contains(LdapObjectSchema::getCacheType(), 'fOo.bAr')->shouldBeEqualTo(true);
        $this->get(LdapObjectSchema::getCacheType(), 'fOo.bAr')->shouldBeLike($item);
        $this->deleteAll();
    }