Sokil\Mongo\CacheTest::testDeleteMatchingAnyTag PHP Method

testDeleteMatchingAnyTag() public method

    public function testDeleteMatchingAnyTag()
    {
        $this->cache->setNeverExpired('php', 'PHP: Hypertext Processor', array('language', 'interpretable'))->setNeverExpired('c', 'C', array('language', 'compileable'));
        $this->assertEquals(2, count($this->cache));
        $this->cache->deleteMatchingAnyTag(array('compileable', 'elephant'));
        $this->assertEquals(1, count($this->cache));
        $this->assertTrue($this->cache->has('php'));
    }