Beispiel #1
0
        public void ShallowClone()
        {
            var html = new HtmlContent {
                Content = "Foo"
            };
            var result = html.Clone(false);

            Assert.Equal(result.Content, html.Content);
        }
Beispiel #2
0
            public void ShouldCopyEntity()
            {
                var html = new HtmlContent {
                    Content = "Foo"
                };
                var result = html.Clone(false);

                Assert.AreEqual(result.Content, html.Content);
            }
 public void ShouldCopyEntity()
 {
     var html = new HtmlContent { Content = "Foo" };
     var result = html.Clone( false );
     Assert.AreEqual( result.Content, html.Content );
 }
Beispiel #4
0
 public void ShallowClone()
 {
     var html = new HtmlContent { Content = "Foo" };
     var result = html.Clone( false );
     Assert.Equal( result.Content, html.Content );
 }