public void CollectsOperationsThatHaveAttribute()
        {
            var dispatcher = new DynamicDispatcher(new MainTarget());

            Assert.IsFalse(dispatcher.HasMethod("HiddenOp"));
            Assert.IsTrue(dispatcher.HasMethod("PublicOp"));
        }
        public void ExposesExtensionMethods()
        {
            var dispatcher = new DynamicDispatcher(new MainTarget(), new MyExtension());

            Assert.IsTrue(dispatcher.HasMethod("PublicOp"));
            Assert.IsTrue(dispatcher.HasMethod("ExtMethod"));
            Assert.AreEqual("Hello", dispatcher.Dispatch("ExtMethod", null));
        }