public void Equals_ShouldBeNameCaseSensitive()
        {
            Type type = typeof(HtmlTransformer);

            HtmlTransformerElement firstHtmlTransformerElement = new HtmlTransformerElement
            {
                Name = "Test",
                Type = type
            };

            HtmlTransformerElement secondHtmlTransformerElement = new HtmlTransformerElement
            {
                Name = "test",
                Type = type
            };

            Assert.AreNotEqual(firstHtmlTransformerElement, secondHtmlTransformerElement);
            Assert.IsFalse(firstHtmlTransformerElement.Equals(secondHtmlTransformerElement));
        }
        public void Equals_IfTheNamesAndTypesAreEqual_ShouldReturnTrue()
        {
            const string name = "Test";
            Type type = typeof(HtmlTransformer);

            HtmlTransformerElement firstHtmlTransformerElement = new HtmlTransformerElement
            {
                Name = name,
                Type = type
            };

            HtmlTransformerElement secondHtmlTransformerElement = new HtmlTransformerElement
            {
                Name = name,
                Type = type
            };

            Assert.AreEqual(firstHtmlTransformerElement, secondHtmlTransformerElement);
            Assert.IsTrue(firstHtmlTransformerElement.Equals(secondHtmlTransformerElement));
        }