public void EqualsOp_DiffQuantity_NotEqual()
        {
            // Arrange
            string webAddress = "http://google.com";
            var    name1      = new NameFragment("text1", webAddress);
            var    name2      = new NameFragment("text2", webAddress);

            // Act
            bool equal1 = name1 == name2;
            bool equal2 = name2 == name1;

            // Assert
            Assert.IsFalse(equal1,
                           "An instance of NameFragment should not be equal if they have different texts.");
            Assert.IsFalse(equal2,
                           "An instance of NameFragment should not be equal if they have different texts.");
        }
        public void Equals_DiffQuality_NotEqual()
        {
            // Arrange
            string text  = "myText";
            var    name1 = new NameFragment(text, "http://yahoo.com");
            var    name2 = new NameFragment(text, "http://google.com");

            // Act
            bool equal1 = name1.Equals(name2);
            bool equal2 = name2.Equals(name1);

            // Assert
            Assert.IsFalse(equal1,
                           "An instance of NameFragment should not be equal if they have different web addresses.");
            Assert.IsFalse(equal2,
                           "An instance of NameFragment should not be equal if they have different web addresses.");
        }