public IReturnsResult <TMock> Returns(InvocationFunc valueFunction) { return(new ContextMethodCallReturn <TMock>(_contextFunctionCallReturnImplementation.Returns(valueFunction))); }
public IReturnsResult <T> Returns(InvocationFunc valueFunction) { this.Setup.SetReturnComputedValueBehavior(valueFunction.Func); return(this); }
public IReturnsResult <T> Returns(InvocationFunc valueFunction) { this.Setup.SetReturnsResponse(valueFunction.Func); return(this); }
public IReturnsResult <TMock> Returns(InvocationFunc valueFunction) { return(_setupImplementation.Returns(valueFunction)); }