Beispiel #1
0
        public void TestEqualsNull()
        {
            var sense = new Sense {
                Accessibility = Accessibility
            };

            Assert.IsFalse(sense.Equals(null));
        }
Beispiel #2
0
        public void TestEquals()
        {
            var sense = new Sense {
                Guid = _commonGuid, Accessibility = Accessibility
            };

            Assert.That(sense.Equals(new Sense {
                Guid = _commonGuid, Accessibility = Accessibility
            }));
        }