Example #1
0
        public void GetValue_throws_exception()
        {
            // arrange
            TagEnd target;

            target = new TagEnd();

            // act
            target.GetValue();
        }
Example #2
0
        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);
        }