def METHOD_NAME(self):
    expected_query = "CREATE OR REPLACE FUNCTION mock_keyspace.lua_var_length_counter(var text) RETURNS NULL ON NULL INPUT " \
                     "RETURNS int LANGUAGE lua AS 'return #var'"
    udf = UDF(**self.MOCK_LUA_UDF_VALS)
    actual_query = udf.get_create_query(ks="mock_keyspace")
    self.assertEqual(expected_query, actual_query)