I have some tests where i am checking for parameter name in exception. How do i write this in MS TEST?
ArgumentNullExc
Since the MSTest [ExpectedException] attribute doesn't check the text in the message, your best bet is to try...catch and set an Assert on the exception Message / ParamName property.
[ExpectedException]