public void ExampleToString() { var example = new ExampleBlock(@"blah"); const string kExpectedOut = @"BEGIN EX blah END EX"; Assert.AreEqual(example.ToString(), kExpectedOut); }
public void ExampleModifiedTextToString() { var example = new ExampleBlock(@"blah"); example.Text = @"blah2"; const string kExpectedOut = @"BEGIN EX blah2 END EX"; Assert.AreEqual(example.ToString(), kExpectedOut); }