@Test(groups = SMALL) public void testGenerateDropProcCreatesCorrectQuery() { String query = PsqlQueryGenerator.generateDropProcQuery("procName"); String expected = "DROP FUNCTION IF EXISTS procName ()"; assertEquals(query, expected); }
static String generateDropProcQuery(String procName) { return format(DROP_PROC_QUERY, procName); }
PsqlQueryGenerator { static String generateDropProcQuery(String procName) { return format(DROP_PROC_QUERY, procName); } }
PsqlQueryGenerator { static String generateDropProcQuery(String procName) { return format(DROP_PROC_QUERY, procName); }  }
PsqlQueryGenerator { static String generateDropProcQuery(String procName) { return format(DROP_PROC_QUERY, procName); }   }
PsqlQueryGenerator { static String generateDropProcQuery(String procName) { return format(DROP_PROC_QUERY, procName); }    }