public void then_throws_an_argument_exception()
 {
     var command = new WizardCommand(
         new WizardCommandAttribute(typeof(WizardCommand)) { WizardType = typeof(string) },
         UIServiceMock.Object,
         resolver.Object
         );
 }
        protected override void Arrange()
        {
            base.Arrange();

            UIServiceMock.Setup(x => x.ShowDialog(It.IsAny<WizardView>()))
                .Callback((Window w) => { viewCreated = w; })
                .Returns(true).Verifiable("ShowDialog not invoked.");

            resolver = new Mock<IResolver<WizardModel>>();
            resolver.Setup(x => x.Resolve(It.Is<Type>(t => t == typeof (MockWizard))))
                .Returns(new MockWizard(UIServiceMock.Object))
                .Verifiable("IResolver not invoked");

            command = new WizardCommand(
                new WizardCommandAttribute(typeof(WizardCommand)) { WizardType = typeof(MockWizard) },
                UIServiceMock.Object,
                resolver.Object
                );
        }