def function() = "function" function = "variable" assertEquals("variable", function) assertEquals("function", function())