public void CreateInstance()
 {
     var factory = new ActivatorCommandFactory();
     var instance = factory.CreateInstance(typeof (SimpleCommand));
     instance.ShouldBeType<SimpleCommand>();
     instance.ShouldNotBeNull();
 }
        public void CreateInstance()
        {
            var factory  = new ActivatorCommandFactory();
            var instance = factory.CreateInstance(typeof(SimpleCommand));

            instance.ShouldBeType <SimpleCommand>();
            instance.ShouldNotBeNull();
        }