/**
  * @dataProvider etherpadConfs
  */
 public function testDeletePad($protocol, $server, $port, $apiKey, $suffix, $text)
 {
     $padID = "Brutus";
     $responseStub = $this->_createResponseStub("0", "ok");
     $browserMock = $this->_createBrowserMock(array(array($this->once(), $this->stringStartsWith($protocol . '://' . $server . ':' . $port . '/api/1.2.1/deletePad?apikey=' . $apiKey . '&padID=' . $padID), $this->returnValue($responseStub))));
     $etherpad = new Client($protocol, $server, $port, $apiKey);
     $etherpad->setBrowser($browserMock);
     return $etherpad->deletePad($padID);
 }