예제 #1
0
 /**
  * Tests clearing the configuration.
  *
  * @covers empire\framework\configuration\Configuration::clear
  */
 public function testClear()
 {
     $this->instance->clear();
     $this->assertSame(0, $this->storage->size());
 }
예제 #2
0
 /**
  * Clears this configuration.
  *
  * This method removes all stored data.
  */
 public function clear()
 {
     $this->storage->remove();
 }