title: how to add synchronization context to async test method
body: <p>I have Visual Studio 2012 and an asynchronous test that needs a synchronization context.<br>
  But the default synchronization context of MSTest is null.<br>
  I would like to test as running on a WPF- or WinForms-UI thread that has a synchronization context.<br>
  What's the best method to add a SynchronizationContext to the test thread ?</p>
  
  <pre><code>    [TestMethod]
      public async Task MyTest()
      {
          Assert.IsNotNull( SynchronizationContext.Current );
          await MyTestAsync();
          DoSomethingOnTheSameThread();
      }
  </code></pre>