title: How does one test async code using MSTest
body: <p>I'm writing some super simple async code. Just saving a file off-thread.</p>
  
  <p>I'd like to test this code using the MSTest unit test framework in Microsoft Visual Studio Team System 2008.</p>
  
  <p>How do I do this?</p>
  
  <p>I'd like to simple block the test method until the method returns. I can imagine some ways to do this, but I'm blown away there aren't any best practices or helper classes around this.</p>
  
  <p>I see <em>a lot</em> for Silverlight, but nothing generic.</p>