Antlr4.Test.StringTemplate.TestCoreBasics.TestStaticProperty C# (CSharp) Method

TestStaticProperty() private method

private TestStaticProperty ( ) : void
return void
        public void TestStaticProperty()
        {
            string template = "<t.StaticProperty>";
            Template st = new Template(template);
            st.Add("t", new User(32, "Ter"));
            string expected = "property_result";
            string result = st.Render();
            Assert.AreEqual(expected, result);
        }
TestCoreBasics