public void TestStaticMethod() { string template = "<t.StaticMethod>"; Template st = new Template(template); st.Add("t", new User(32, "Ter")); string expected = "method_result"; string result = st.Render(); Assert.AreEqual(expected, result); }