/// <summary>Throws an <c>AssertFailedException</c> exception if <c>action</c> throws an exception.</summary> public static async Task DoesNotThrowAsync(Func <Task> action, string message = "") => await ExceptionAssertTException.AdapterAsync(action, message, ExceptionAssertTException.DoesNotThrowAsync, m => new AssertFailedException(m));
/// <summary>Throws an <c>AssertFailedException</c> exception if <c>action</c> throws an exception.</summary> public static void DoesNotThrow(Action action, string message = "") => ExceptionAssertTException.Adapter(action, message, ExceptionAssertTException.DoesNotThrow, m => new AssertFailedException(m));