public void SetGetType(string setType, string getType)
 {
     _button.Type = setType;
     Assert.AreEqual(setType, _button.GetAttribute("type"));
     Assert.AreEqual(getType, _button.Type);
 }
        public void AccessKey()
        {
            var x = new HtmlButtonElement
            {
                AccessKey       = "1",
                Class           = "2",
                ContentEditable = "3",
                Dir             = "4",
                Draggable       = "5",
                DropZone        = "6",
                Hidden          = true,
                Id         = "7",
                Lang       = "8",
                Spellcheck = "9",
                Style      = "10",
                TabIndex   = "11",
                Title      = "12",
                Translate  = "13"
            };

            Assert.Equal("1", x.GetAttribute("accesskey"));
            Assert.Equal("2", x.GetAttribute("class"));
            Assert.Equal("3", x.GetAttribute("contenteditable"));
            Assert.Equal("4", x.GetAttribute("dir"));
            Assert.Equal("5", x.GetAttribute("draggable"));
            Assert.Equal("6", x.GetAttribute("dropzone"));
            Assert.Equal("7", x.GetAttribute("id"));
            Assert.Equal("8", x.GetAttribute("lang"));
            Assert.Equal("9", x.GetAttribute("spellcheck"));
            Assert.Equal("10", x.GetAttribute("style"));
            Assert.Equal("11", x.GetAttribute("tabindex"));
            Assert.Equal("12", x.GetAttribute("title"));
            Assert.Equal("13", x.GetAttribute("translate"));
            Assert.True(x.Hidden);
            Assert.Equal("1", x.AccessKey);
            Assert.Equal("2", x.Class);
            Assert.Equal("3", x.ContentEditable);
            Assert.Equal("4", x.Dir);
            Assert.Equal("5", x.Draggable);
            Assert.Equal("6", x.DropZone);
            Assert.Equal("7", x.Id);
            Assert.Equal("8", x.Lang);
            Assert.Equal("9", x.Spellcheck);
            Assert.Equal("10", x.Style);
            Assert.Equal("11", x.TabIndex);
            Assert.Equal("12", x.Title);
            Assert.Equal("13", x.Translate);
        }