public void EqualsMethodAgainstEvent_Matches()
        {
            var id  = new SubscriptionEventName("schema", "abc");
            var id2 = new SubscriptionEventName("schema", "abc");

            Assert.IsTrue(id.Equals(id2));
        }
        public void EqualsMethodAgainstOtherAsObject_Matches()
        {
            var id       = new SubscriptionEventName("schema", "abc");
            var secondId = new SubscriptionEventName("schema", "abc");

            Assert.IsTrue(id.Equals((object)secondId));
        }
        public void EqualsMethodAgainstNonString_DoesNotMatch()
        {
            var id = new SubscriptionEventName("schema", "abc");

            var idValue = (object)123;

            Assert.IsFalse(id.Equals(idValue));
        }
        public void EqualsMethodAgainstStringObject_Matches()
        {
            var id = new SubscriptionEventName("schema", "abc");

            var obj = (object)"schema:abc";

            Assert.IsTrue(id.Equals(obj));
        }
        public void EqualsMethodAgainstNullAsEvent_DoesNotMatch()
        {
            var id = new SubscriptionEventName("schema", "abc");

            Assert.IsFalse(id.Equals(null as SubscriptionEventName));
        }
        public void EqualsMethodAgainstSelfAsObject_Matches()
        {
            var id = new SubscriptionEventName("schema", "abc");

            Assert.IsTrue(id.Equals((object)id));
        }