/** * @covers \Core\Cache\FileCache::destroy */ public function testCacheDestroy() { $this->assertInternalType('array', Cache::destroy()); /* Check if Cache Directory is empty */ $this->assertEquals(count(scandir(vfsStream::url('root/cache'))), 2); }