示例#1
0
 /**
  * @covers VariableApi::delAll
  */
 public function testDelAll()
 {
     $this->assertCount(3, $this->api->getAll('BarExtension'));
     $this->assertTrue($this->api->delAll('BarExtension'));
     $this->assertEquals([], $this->api->getAll('BarExtension'));
 }
 /**
  * Convenience shortcut to delete all Extension Variables.
  * @return bool
  */
 public function delVars()
 {
     return $this->variableApi->delAll($this->extensionName);
 }