public static T ThrowsException <T>(Func <object> action, string message) where T : Exception { return(AssertHelper.ThrowsException <T>(action, message, null)); }
public static T ThrowsException <T>(Action action) where T : Exception { return(AssertHelper.ThrowsException <T>(action, string.Empty, null)); }