Redaxscript\Tests\CacheTest::testRetrieveInvalid PHP Method

testRetrieveInvalid() public method

testRetrieveInvalid
Since: 3.0.0
public testRetrieveInvalid ( )
    public function testRetrieveInvalid()
    {
        /* setup */
        $cache = new Cache();
        $cache->init(Stream::url('root'), 'cache');
        /* actual */
        $actual = $cache->retrieve('invalid');
        /* compare */
        $this->assertFalse($actual);
    }