public void GetValue_throws_exception() { // arrange TagEnd target; target = new TagEnd(); // act target.GetValue(); }
public void GetValue_throws_exception() { // arrange var target = new TagEnd(); // act var e = Assert.Throws <NotSupportedException>(() => target.GetValue()); Assert.Equal("Tag does not support values.", e.Message); }