public void TestInfo()
        {
            Object instance = new DummyHttpServer();

            ReflectionInvokerStrategy strategy = new ReflectionInvokerStrategy();
            MDynamicSupport dynamic = strategy.Create(instance);
            AssertNotNull(dynamic);
            AssertNotNull(dynamic.Info);
            AssertEquals( 3, dynamic.Info.Operations.Count );
            AssertEquals( 1, dynamic.Info.Attributes.Count );
        }
        public void TestOperation()
        {
            DummyHttpServer instance = new DummyHttpServer();

            ReflectionInvokerStrategy strategy = new ReflectionInvokerStrategy();
            MDynamicSupport dynamic = strategy.Create(instance);

            Assert( !instance.Started );

            dynamic.Invoke("Start", null, null);

            Assert( instance.Started );
        }