public void Empty_値をもっていない結果が作成される()
 {
     InOutValueResult.Empty().HasValue.Should().BeFalse();
 }
    public void Get_Emptyの場合は例外が発生する()
    {
        Action act = () => InOutValueResult.Empty().Get();

        act.Should().Throw <InvalidOperationException>();
    }
Exemple #3
0
 /// <inheritdoc />
 public virtual Task <InOutValueResult> CollectOutValueAsync(TResponse response, CancellationToken cancellationToken)
 {
     return(Task.FromResult(InOutValueResult.Empty()));
 }
Exemple #4
0
 public Task <InOutValueResult> CollectOutValueAsync(TestBehaviorResponse response, CancellationToken cancellationToken)
 {
     return(Task.FromResult(InOutValueResult.Empty()));
 }
Exemple #5
0
 /// <inheritdoc />
 public virtual Task <InOutValueResult> CollectInValueAsync(TRequest request, CancellationToken cancellationToken)
 {
     return(Task.FromResult(InOutValueResult.Empty()));
 }