public void Profile_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IPinterestHtmlHelperExtensions.Profile(null, widget => { }));
            Assert.Throws <ArgumentNullException>(() => new PinterestHtmlHelper().Profile(null));

            Assert.Equal(new PinterestHtmlHelper().Profile().ToHtmlString(), new PinterestHtmlHelper().Profile(x => { }));
            Assert.Equal(new PinterestHtmlHelper().Profile().Account("account").ToHtmlString(), new PinterestHtmlHelper().Profile(x => x.Account("account")));
        }
        public void PinItButton_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IPinterestHtmlHelperExtensions.PinItButton(null, widget => { }));
            Assert.Throws <ArgumentNullException>(() => new PinterestHtmlHelper().PinItButton(null));

            Assert.Equal(new PinterestHtmlHelper().PinItButton().ToHtmlString(), new PinterestHtmlHelper().PinItButton(x => { }));
            Assert.Equal(new PinterestHtmlHelper().PinItButton().Url("url").Image("image").Description("description").ToHtmlString(), new PinterestHtmlHelper().PinItButton(x => x.Url("url").Image("image").Description("description")));
        }
        public void Pin_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IPinterestHtmlHelperExtensions.Pin(null, widget => { }));
            Assert.Throws <ArgumentNullException>(() => new PinterestHtmlHelper().Pin(null));

            Assert.Equal(new PinterestHtmlHelper().Pin().ToHtmlString(), new PinterestHtmlHelper().Pin(x => { }));
            Assert.Equal(new PinterestHtmlHelper().Pin().Id("id").ToHtmlString(), new PinterestHtmlHelper().Pin(x => x.Id("id")));
        }
        public void Board_Method()
        {
            Assert.Throws <ArgumentNullException>(() => IPinterestHtmlHelperExtensions.Board(null, widget => { }));
            Assert.Throws <ArgumentNullException>(() => new PinterestHtmlHelper().Board(null));

            Assert.Equal(new PinterestHtmlHelper().Board().ToHtmlString(), new CackleHtmlHelper().Comments(x => { }));
            Assert.Equal(new PinterestHtmlHelper().Board().Account("account").Id("id").ToHtmlString(), new PinterestHtmlHelper().Board(x => x.Account("account").Id("id")));
        }