Example #1
0
        public void NameValue_GetHashCode_NameEmpty()
        {
            var constructor = new NameValue(null, "testValue");

            Assert.IsNotNull(constructor);
            Assert.AreNotEqual(0, constructor.GetHashCode());
        }
Example #2
0
        public void NameValue_GetHashCode_ValueEmpty()
        {
            var constructor = new NameValue("Name", null);

            Assert.IsNotNull(constructor);
            Assert.AreNotEqual(0, constructor.GetHashCode());
        }
Example #3
0
        public void NameValue_GetHashCode()
        {
            var constructor = new NameValue("testName", "testValue");

            Assert.IsNotNull(constructor);
            Assert.AreNotEqual("0", constructor.GetHashCode());
        }