getTableMetaData()->getTableName(); $connection->getConnection()->delete($tableName); } catch (Exception $e) { #require_once "PHPUnit/Extensions/Database/Operation/Exception.php"; throw new PHPUnit_Extensions_Database_Operation_Exception('DELETEALL', 'DELETE FROM '.$tableName.'', array(), $table, $e->getMessage()); } } } }