Exemple #1
0
 public static void Throws(Action action)
 {
     ExceptionAssert.Throws <Exception>(action);
 }
Exemple #2
0
 public static void Throws(Action action, Action <Exception> asserter)
 {
     ExceptionAssert.Throws <Exception>(action, asserter);
 }
Exemple #3
0
 public static void Throws <T>(Action action)
     where T : Exception
 {
     ExceptionAssert.Throws <T>(action, (Action <Exception>)null);
 }
Exemple #4
0
 public static void Throws(Action action, string message)
 {
     ExceptionAssert.Throws <Exception>(action, message);
 }