public void ProcessReturnsEmptyString() { var template = new TestTemplate(); string result = template.Process(); Assert.AreEqual(string.Empty, result); }
public void ProcessCallsProcessInternal() { var template = new TestTemplate(); template.Process(); Assert.IsTrue(template.ProcessInternalCalled); }
public void WriteWritesToContent() { var template = new TestTemplate(); template.Write("foo"); string result = template.Process(); Assert.AreEqual("foo", result); }