using MS Test how can verify the exact error message coming from a test method. I know [ExpectedException(typeof(ApplicationException), error msg)] doesn't compare the error message coming from my test method, though in other unit test framework it is doing.
One way to solve this problem is to write my uni test using some try catch block, but again I need to write 4 lines more.
Is there any smartest way to check the error message.
Cheers, Pritam