public void TestEvaluate() { propertyBagMock.Setup(x => x.ContainsKey("markup")).Returns(true); propertyBagMock.Setup(x => x["markup"]).Returns(new object()); var obj = markup.Evaluate(interpretContextMock.Object); Assert.IsNotNull(obj); }