public void Value() { TestPart p = new TestPart(null); Assert.IsNull(p.Value); p = new TestPart((s) => "hello '" + s + "'"); Assert.AreEqual("hello", p.Value); }
public new void ToString() { TestPart p = new TestPart(null); Assert.AreEqual("{TESTPART}", p.ToString()); }
public void Symbol() { TestPart p = new TestPart(null); Assert.AreEqual("{TESTPART}", p.Symbol); }