/** * @covers \Core\Cache\FileCache::delete */ public function testCacheDelete() { Cache::put('someNewKey', 'testString', 60); $this->assertTrue(Cache::delete('someNewKey')); $this->assertFalse(FileSystem::exists(vfsStream::url('root/cache/' . md5('someNewKey') . '.php'))); }