public void Initialize() { this.target = new WizardAutomation( new Mock <IProductElement>().Object, Mocks.Of <IWizardSettings>().First(s => s.Owner.Name == "Foo" && s.TypeName == typeof(MockWizardWindow).AssemblyQualifiedName)); this.CompositionService = new Mock <INuPatternCompositionService>(); this.target.CompositionService = this.CompositionService.Object; }
public void Initialize() { this.target = new WizardAutomation( new Mock<IProductElement>().Object, Mocks.Of<IWizardSettings>().First(s => s.Owner.Name == "Foo" && s.TypeName == typeof(MockWizardWindow).AssemblyQualifiedName)); this.CompositionService = new Mock<INuPatternCompositionService>(); this.target.CompositionService = this.CompositionService.Object; }