public SchemaObject findFunction(String functionName) {
        return getDefaultSchema().findFunction(functionName);
    }
@Test
    public void testFindFunction() {
        SchemaRepository repository = new SchemaRepository(JdbcConstants.MYSQL);
        SQLCreateFunctionStatement stmt = new SQLCreateFunctionStatement();
        String funcName = "Test";
        stmt.setName(new SQLIdentifierExpr(funcName));
        repository.acceptCreateFunction(stmt);
        SchemaObject schemaObject = repository.findFunction(funcName);
        assertNotNull(schemaObject);
    }