예제 #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));
        }