public ConfiguredCall LastCallShouldReturn(IReturn returnValue, MatchArgs matchArgs, PendingSpecificationInfo pendingSpecInfo) { Trace($"LastCallShouldReturn(value: {returnValue.DiagName(_ctx)}, " + $"matchArgs: {matchArgs.DiagName()}, pendingSpecInfo: {pendingSpecInfo.DiagName(_ctx)})"); Log($"[Configure last call] " + $"CallSpecification: {pendingSpecInfo.DiagName(_ctx)} " + $"Value: {returnValue.DiagName(_ctx)} " + $"Match: {matchArgs.DiagName()} "); return(_impl.LastCallShouldReturn(returnValue, matchArgs, pendingSpecInfo)); }
public ConfiguredCall LastCallShouldReturn(IReturn value, MatchArgs matchArgs) { Trace($"LastCallShouldReturn(value: {value.DiagName(_ctx)}, matchArgs: {matchArgs.DiagName()})"); return(_impl.LastCallShouldReturn(value, matchArgs)); }
public void SetReturnForType(Type type, IReturn returnValue) { Trace($"SetReturnForType(type: {type.DiagName()}, returnValue: {returnValue.DiagName(_ctx)})"); _impl.SetReturnForType(type, returnValue); }