/*** ShouldNotThrowAsync(Func<Task>) ***/ public static Task ShouldNotThrowAsync(this Func <Task> actual, string?customMessage = null) { return(Should.NotThrowAsync(actual, customMessage)); }
/*** ShouldNotThrowAsync(Task) ***/ public static Task ShouldNotThrowAsync(this Task task, string?customMessage = null) { return(Should.NotThrowAsync(task, customMessage)); }
public static Task ShouldNotThrowAsync(this Func <Task> actual, [InstantHandle] Func <string?>?customMessage) { return(Should.NotThrowAsync(actual, customMessage)); }
/*** ShouldNotThrowAsync(Func<Task>) ***/ public static Task ShouldNotThrowAsync(this Func <Task> actual) { return(Should.NotThrowAsync(actual)); }
public static Task ShouldNotThrowAsync(this Task task, [InstantHandle] Func <string?>?customMessage) { return(Should.NotThrowAsync(task, customMessage)); }
/*** ShouldNotThrowAsync(Task) ***/ public static Task ShouldNotThrowAsync(this Task task) { return(Should.NotThrowAsync(task, () => null)); }