public void ToStringTest() { // arrange const string expected = "[End]"; var target = new TagEnd(); // act var actual = target.ToString(); // assert Assert.Equal(expected, actual); }
public void ToStringTest() { // arrange TagEnd target; string expected; string actual; expected = "[End]"; target = new TagEnd(); // act actual = target.ToString(); // assert Assert.AreEqual(expected, actual); }
public void ToStringWithIndentTest() { // arrange TagEnd target; string expected; string actual; string prefix; prefix = "test"; expected = string.Format("{0}[End]", prefix); target = new TagEnd(); // act actual = target.ToString(prefix); // assert Assert.AreEqual(expected, actual); }