public void BasicObjectRendersTags()
        {
            var obj      = new OpenGraphObject("my super title", new Uri("http://test.org/my-super-title"));
            var expected = Meta("og:title", "my super title") + Meta("og:url", "http://test.org/my-super-title");

            Assert.AreEqual(expected, obj.ToString());
        }
        public void TypicalHomepageWithLogo()
        {
            var obj = new OpenGraphObject("welcome to mysite", new Uri("http://mysite.com/"));

            obj.IsImage(imageUri: new Uri("http://mysite.com/Content/loog.png"));
            obj.SetDescription("With mysite, build your blog in 2 minutes");
            var expected = Meta("og:title", "welcome to mysite")
                           + Meta("og:url", "http://mysite.com/")
                           + Meta("og:image", "http://mysite.com/Content/loog.png")
                           + Meta("og:description", "With mysite, build your blog in 2 minutes");

            Assert.AreEqual(expected, obj.ToString());
        }
        public void EmptyObjectRendersNothing()
        {
            var obj = new OpenGraphObject();

            Assert.AreEqual(string.Empty, obj.ToString());
        }