text: ﻿/*
   * Created by SharpDevelop.
   * User: Alexander Petrovskiy
   * Date: 4/12/2012
   * Time: 8:27 PM
   * 
   * To change this template use Tools | Options | Coding | Edit Standard Headers.
   */
  
  namespace UIAutomationTest.Commands.Profile
  {
      using System.Management.Automation;
      
      /// <summary>
      /// Description of SetUiaCurrentTestProfileCommandTestFixture.
      /// </summary>
      [Cmdlet(VerbsCommon.Set, "UiaCurrentTestProfile")]
      public class SetUiaCurrentTestProfileCommandTestFixture
      {
          [MbUnit.Framework.SetUp][NUnit.Framework.SetUp]
          public void PrepareRunspace()
          {
              MiddleLevelCode.PrepareRunspace();
              CmdletUnitTest.TestRunspace.RunPSCode(
                  @"[void]([UIAutomation.CurrentData]::ResetData());");
              CmdletUnitTest.TestRunspace.RunPSCode(
                  @"[void]([UIAutomation.CurrentData]::Profiles.Clear());");
          }
          
          
          
          [MbUnit.Framework.TearDown][NUnit.Framework.TearDown]
          public void DisposeRunspace()
          {
              MiddleLevelCode.DisposeRunspace();
          }
      }
  }
  