/** * Tests removing this cache. * * @covers empire\framework\storage\cache\Cache::remove */ public function testRemove() { $this->cache->store('hello', 'world'); $this->cache->store('hi', 'universe'); $this->cache->store('hola', 'mars'); $this->cache->store('priwjat', 'jupiter'); $this->cache->remove(); $this->assertSame(0, $this->cache->getNumberOfItems()); }