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

TestBooleanHASProp() private method

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