@@ -0,0 +1,787 @@
+package org.twig.functional;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport org.twig.Environment;%0Aimport org.twig.exception.TwigException;%0Aimport org.twig.loader.HashMapLoader;%0A%0Aimport java.util.HashMap;%0A%0Apublic class RenderFunctionsTests extends FunctionalTests %7B%0A    @Test%0A    public void canRenderContextObjectMethods() throws TwigException %7B%0A        TestClass foo = new TestClass();%0A        HashMap%3CString, String%3E templates = new HashMap%3C%3E();%0A        templates.put(%22foo.twig%22, %22%7B%7B foo.getSomething() %7D%7D%22);%0A        setupEnvironment(templates);%0A%0A        Assert.assertEquals(%22Method return vale should be rendered%22, %22foo%22, environment.render(%22foo.twig%22));%0A    %7D%0A%0A    private class TestClass %7B%0A        public String getSomething() %7B%0A            return %22foo%22;%0A        %7D%0A    %7D%0A%7D%0A

Add test for rendering object methods