Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * Tests clearing the configuration.
  *
  * @covers empire\framework\configuration\Configuration::clear
  */
 public function testClear()
 {
     $this->instance->clear();
     $this->assertSame(0, $this->storage->size());
 }