Example #1
0
        public void NotEqualsTest()
        {
            var chatLink = new OutfitChatLink {
                OutfitId = 1
            };
            var chatLink2 = new OutfitChatLink {
                OutfitId = 2
            };

            Assert.False(chatLink.Equals(chatLink2));
            Assert.False(chatLink.Equals(null));
        }
Example #2
0
        public void EqualsTest()
        {
            var chatLink = new OutfitChatLink {
                OutfitId = 1
            };
            var chatLink2 = new OutfitChatLink {
                OutfitId = 1
            };

            Assert.True(chatLink.Equals((object)chatLink2));
        }