Exemplo n.º 1
0
        public void SetValue_throws_exception()
        {
            // arrange
            TagEnd target;

            target = new TagEnd();

            // act
            target.SetValue("TEST");
        }
Exemplo n.º 2
0
        public void SetValue_throws_exception()
        {
            // arrange
            var target = new TagEnd();

            // act
            var e = Assert.Throws <NotSupportedException>(() => target.SetValue("TEST"));

            Assert.Equal("Tag does not support values.", e.Message);
        }