/** * Tests that the database can be flushed correctly. * * @depends testBootstrap * * @covers Molovo\Amnesia\Cache\Instance::flush * @covers Molovo\Amnesia\Driver\File::flush */ public function testFlush() { $keys = static::$instance->keys(); verify($keys)->notEquals([]); static::$instance->flush(); $keys = static::$instance->keys(); verify($keys)->equals([]); }