// [Description("New-UiaWizard")] // [Category("Fast")] // [Category("Wizard")] public void NewWizard_ComplexName() { const string expectedName = @"\\aa//bb``cc"; UnitTestingHelper.CreateWizard(expectedName, null); MbUnit.Framework.Assert.AreEqual( expectedName, ((Wizard)PSTestLib.UnitTestOutput.LastOutput[0]).Name); }
// [Description("New-UiaWizard")] // [Category("Fast")] // [Category("Wizard")] public void NewWizard_StandardName() { const string expectedName = "name"; UnitTestingHelper.CreateWizard(expectedName, null); MbUnit.Framework.Assert.AreEqual( expectedName, ((Wizard)PSTestLib.UnitTestOutput.LastOutput[0]).Name); }
public void NewWizard_DuplicatedName() { const string expectedName = "name"; UnitTestingHelper.CreateWizard(expectedName, null); //Assert.Throws<Type>(UnitTestingHelper.CreateWizard(expectedName, null)); // createWizard(expectedName, null); // // MbUnit.Framework.Assert.AreEqual( // expectedName, // ((Wizard)(object)PSTestLib.UnitTestOutput.LastOutput[0]).Name); }