Sokil\Mongo\CacheTest::testDeleteMatchingNoneOfTags PHP Method

testDeleteMatchingNoneOfTags() public method

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