public IReturnsResult <TMock> Returns(InvocationFunc valueFunction)
 {
     return(new ContextMethodCallReturn <TMock>(_contextFunctionCallReturnImplementation.Returns(valueFunction)));
 }
예제 #2
0
 public IReturnsResult <T> Returns(InvocationFunc valueFunction)
 {
     this.Setup.SetReturnComputedValueBehavior(valueFunction.Func);
     return(this);
 }
예제 #3
0
 public IReturnsResult <T> Returns(InvocationFunc valueFunction)
 {
     this.Setup.SetReturnsResponse(valueFunction.Func);
     return(this);
 }
예제 #4
0
 public IReturnsResult <TMock> Returns(InvocationFunc valueFunction)
 {
     return(_setupImplementation.Returns(valueFunction));
 }