示例#1
0
        public void EventListenerTests_Equals_Equal()
        {
            EventListener instance      = new Mocks.MockEventListener(true, false);
            EventListener otherInstance = new Mocks.MockEventListener(true, false);

            Assert.IsTrue(instance.Equals(instance, instance));
        }
示例#2
0
        public void EventListenerTests_Equals_RightNull()
        {
            EventListener instance      = new Mocks.MockEventListener(true, false);
            EventListener otherInstance = null;

            Assert.IsFalse(instance.Equals(instance, otherInstance));
        }
示例#3
0
        public void EventListenerTests_Equals_SingleArgument()
        {
            EventListener instance      = new Mocks.MockEventListener(true, false);
            EventListener otherInstance = new Mocks.MockEventListener(true, false);

            Assert.IsFalse(instance.Equals(otherInstance));
        }