public void StringsWithDifferentContentAreNotEqual()
        {
            var string1 = new RedisString("test1");
            var string2 = new RedisString("test2");

            Assert.False(string1.Equals(string2));
            Assert.False(string2.Equals(string1));

            Assert.True(string1 != string2);
            Assert.True(string2 != string1);
        }
        public void StringsWithSameContentAreEqual()
        {
            var string1 = new RedisString("test");
            var string2 = new RedisString("test");

            Assert.True(string1.Equals(string2));
            Assert.True(string2.Equals(string1));

            Assert.True(string1 == string2);
            Assert.True(string2 == string1);
        }
        public void StringsAreNotEqualToNull()
        {
            var s = new RedisString("test");

            Assert.False(s.Equals(null));
        }
        public void StringsAreEqualToItself()
        {
            var s = new RedisString("test");

            Assert.True(s.Equals(s));
        }