public void GetHashCode_PartialViewResult_PartialViewResultsDifferent_ReturnsDifferentHashCode()
        {
            var command         = "command";
            var selector        = "#selector";
            var elementCommand0 = new ElementCommand(command, selector, new PartialViewResult());
            var elementCommand1 = new ElementCommand(command, selector, new PartialViewResult());

            var result0 = elementCommand0.GetHashCode();
            var result1 = elementCommand1.GetHashCode();

            result0.Should().NotBe(result1);
        }
        public void GetHashCode_OneHtmlAndOnePartialViewResult_ReturnsFalse()
        {
            var command         = "command";
            var selector        = "#selector";
            var elementCommand0 = new ElementCommand(command, selector, "<div>Some HTML!</div>");
            var elementCommand1 = new ElementCommand(command, selector, new PartialViewResult());

            var result0 = elementCommand0.GetHashCode();
            var result1 = elementCommand1.GetHashCode();

            result0.Should().NotBe(result1);
        }
        public void GetHashCode_Html_ElementCommandsHaveDifferentProperties_ReturnsDifferentHashCode(
            string command0, string selector0, string html0,
            string command1, string selector1, string html1)
        {
            var elementCommand0 = new ElementCommand(command0, selector0, html0);
            var elementCommand1 = new ElementCommand(command1, selector1, html1);

            var result0 = elementCommand0.GetHashCode();
            var result1 = elementCommand1.GetHashCode();

            result0.Should().NotBe(result1);
        }