DatabaseHandler { protected String generateDropTableStatement(String aObjectName) { String tmpStatement = "DROP TABLE IF EXISTS `" + aObjectName + "`;"; commander.debug(tmpStatement); return tmpStatement; } DatabaseHandler(SfdcConfig aConfig, String aBackupPath); void backupOrganization();  }
@Test public void generateDropTableStatementTest() { DatabaseHandler dbHandler = new DatabaseHandler(null, null); String dropStmt = dbHandler.generateDropTableStatement("objects"); Assert.assertEquals("DROP TABLE IF EXISTS `objects`;", dropStmt); }