code: @Given("^I drop every document at a MongoDB database '(.+?)' and table '(.+?)'")
      public void truncateTableInMongo(String database, String table) {
          commonspec.getMongoDBClient().connectToMongoDBDataBase(database);
          commonspec.getMongoDBClient().dropAllDataMongoDBCollection(table);
      }
docs: Truncate table in MongoDB.
  
  @param database Mongo database
  @param table    Mongo table