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