public void Equals_Failure_ObjectType()
        {
            // arrange
            HTMLParserFeedItemDefinition definition = new HTMLParserFeedItemDefinition();
            object failureObject = new object();

            // act
            bool actual = definition.Equals(failureObject);

            // assert
            Assert.IsFalse(actual);
        }
        public void Equals_Failure()
        {
            // arrange
            HTMLParserFeedItemDefinition definition = new HTMLParserFeedItemDefinition();
            HTMLParserFeedItemDefinition duplicate = new HTMLParserFeedItemDefinition();
            string tag = "Equals_Failure";
            string attributeName = "Attribute Equals_Failure";

            definition.Tag = tag + "1";
            definition.AttributeName = attributeName + "1";

            duplicate.Tag = tag.ToUpper();
            duplicate.AttributeName = attributeName.ToUpper();

            // act
            bool actual = definition.Equals(duplicate);

            // assert
            Assert.IsFalse(actual);
        }
        public void Equals_Success()
        {
            // arrange
            HTMLParserFeedItemDefinition definition = new HTMLParserFeedItemDefinition();
            HTMLParserFeedItemDefinition duplicate = new HTMLParserFeedItemDefinition();
            string tag = "Equals_Success";
            string attributeName = "Attribute Name";

            definition.Tag = tag;
            definition.AttributeName = attributeName;

            duplicate.Tag = tag.ToUpper();
            duplicate.AttributeName = attributeName.ToUpper();

            // act
            bool actual = definition.Equals(duplicate);

            // assert
            Assert.IsTrue(actual);
        }