예제 #1
0
        public void TestEqualsNull()
        {
            var edit = new UserEdit {
                ProjectId = ProjectId
            };

            Assert.IsFalse(edit.Equals(null));
        }
예제 #2
0
        public void TestEquals()
        {
            var edit = new UserEdit {
                ProjectId = ProjectId
            };

            Assert.That(edit.Equals(new UserEdit {
                ProjectId = ProjectId
            }));
        }