/** * Constructs a new pages configuration. * * @param StorageEngine $engine the storage engine to use * @param GID $gid a GID object */ public function __construct(StorageEngine $engine, GID $gid) { $this->gid = $gid; parent::__construct($engine); }
/** * Tests clearing the configuration. * * @covers empire\framework\configuration\Configuration::clear */ public function testClear() { $this->instance->clear(); $this->assertSame(0, $this->storage->size()); }