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