public void BackgroundMethodWithLoggingAndINPC_ExceptionThrown_IsLoggedProperly() { var c = new AsyncLoggedClass(); c.BackgroundException(); Thread.Sleep( 1000 ); string output = OutputString.ToString(); StringAssert.Contains("exception occurred", output ); }
public void BackgroundMethodWithLoggingAndINPC_ExceptionThrown_IsLoggedProperly() { var c = new AsyncLoggedClass(); c.BackgroundException(); Thread.Sleep(1000); string output = OutputString.ToString(); StringAssert.Contains("exception occurred", output); }