Esempio n. 1
0
    public async Task Async_sourceがnullの場合は例外が発生する()
    {
        Func <Task> act    = () => ResultExtensions.Empty(null as Task <Result <string> >);
        var         result = await act.Should().ThrowAsync <ArgumentNullException>();

        result.And.ParamName.Should().Be("source");
    }