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

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

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