public async Task Async_nullの場合は例外が発生する() { Func<Task> act = () => ResultExtensions.ContainsError( source: null as Task<Result<string>>, new Error()); await act.Should().ThrowAsync<ArgumentNullException>(); }
public async Task Async_Eq_nullの場合は例外が発生する() { Func <Task> act = () => ResultExtensions.ContainsError( source: null as Task <Result>, new Error(), EqualityComparer <IError> .Default); await act.Should().ThrowAsync <ArgumentNullException>(); }