Author: justncase80 | Posted on: 6/17/2008 10:43:04 AM | Views : 462

I am using the Silverlight Unit Test framework that ScottGu talked about on his blog and I have a unit test that looks like this:
    [TestMethod]
    public void TestCreateNew()
    {
      ManualResetEvent reset = new ManualResetEvent(false);
      Guid expectedId = new Guid("{7E7127CF-F22C-4903-BDCE-1714C81A9E89}");
      MockEditableRoot actual = null;
      Exception error = null;

      DoSomeWCFAsynchronously((o, e) =>
      {
        actual = o;
        error = e;
        reset.Set();
      });

      reset.WaitOne();

 &nbs ...

Go to the complete details ...