public void Equals_Html_OtherElementCommandPropertiesDifferent_ReturnsFalse(
      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 result = elementCommand0.Equals(elementCommand1);

              result.Should().BeFalse();
        }
        public void Equals_PartialViewResult_PartialViewResultsDifferent_ReturnsFalse()
        {
            var command = "command";
              var selector = "#selector";
              var elementCommand0 = new ElementCommand(command, selector, new PartialViewResult());
              var elementCommand1 = new ElementCommand(command, selector, new PartialViewResult());

              var result = elementCommand0.Equals(elementCommand1);

              result.Should().BeFalse();
        }
        public void Equals_PartialViewResult_OtherElementCommandPropertiesSame_ReturnsTrue()
        {
            var command = "command";
              var selector = "#selector";
              var partialViewResult = new PartialViewResult();
              var elementCommand0 = new ElementCommand(command, selector, partialViewResult);
              var elementCommand1 = new ElementCommand(command, selector, partialViewResult);

              var result = elementCommand0.Equals(elementCommand1);

              result.Should().BeTrue();
        }
        public void Equals_OtherObjectIsNotAnElementCommand_ReturnsFalse()
        {
            var other = new object();
              var elementCommand = new ElementCommand("command", "#selector", "<div>Some HTML!</div>");

              var result = elementCommand.Equals(other);

              result.Should().BeFalse();
        }
        public void Equals_OtherElementCommandIsSameObject_ReturnsTrue()
        {
            var elementCommand = new ElementCommand("command", "#selector", "<div>Some HTML!</div>");

              var result = elementCommand.Equals(elementCommand);

              result.Should().BeTrue();
        }
        public void Equals_OtherElementCommandIsNull_ReturnsFalse()
        {
            var elementCommand = new ElementCommand("command", "#selector", "<div>Some HTML!</div>");
              ElementCommand other = null;

              var result = elementCommand.Equals(other);

              result.Should().BeFalse();
        }
        public void Equals_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 result = elementCommand0.Equals(elementCommand1);

              result.Should().BeFalse();
        }