Helper method for checking unit testing that an exception is thrown, with the correct error message
Note of caution if you're using Task.Factory.StartNew() in WCF services and relying on your generic error handler to catch exceptions
Powered by: Skin design by Mark Wagner, Adapted by David Vidmar Copyright © Elton Stoneman