// [Description("Add-UiaWizardStep")] // [Category("Fast")] // [Category("Wizard")] public void AddWizardStep_ComplexName() { const string expectedName = @"\\st//ep`` name;;"; UnitTestingHelper.AddWizardStep(expectedName, null, null); MbUnit.Framework.Assert.AreEqual( expectedName, ((Wizard)PSTestLib.UnitTestOutput.LastOutput[0]).Steps[0].Name); }
// [Description("Add-UiaWizardStep")] // [Category("Fast")] // [Category("Wizard")] public void AddWizardStep_StandardName() { const string expectedName = "name"; UnitTestingHelper.AddWizardStep(expectedName, null, null); MbUnit.Framework.Assert.AreEqual( expectedName, ((Wizard)PSTestLib.UnitTestOutput.LastOutput[0]).Steps[0].Name); }