emptyDB() public static method

Empty all tables for the passed database
public static emptyDB ( array $credentials )
$credentials array
 /**
  * setUp
  */
 protected function setUp()
 {
     $credentials = ['host' => PHPUNIT_DB_HOST, 'database' => PHPUNIT_DB_NAME, 'user' => PHPUNIT_DB_USER, 'password' => PHPUNIT_DB_PASS];
     $this->telegram = new Telegram('apikey', 'testbot');
     $this->telegram->enableMySql($credentials);
     //Make sure we start with an empty DB for each test.
     TestHelpers::emptyDB($credentials);
 }