Sokil\Mongo\CacheTest::testGet_ExistedKey PHP Method

testGet_ExistedKey() public method

public testGet_ExistedKey ( )
    public function testGet_ExistedKey()
    {
        $this->cache->setNeverExpired('php', 'Some value');
        $this->assertEquals('Some value', $this->cache->get('php'));
        $this->cache->setNeverExpired('php', 'PHP: Hypertext Processor');
        $this->assertEquals('PHP: Hypertext Processor', $this->cache->get('php'));
    }