protected CallInfo StubCallInfoForCall(ICall call) { var callInfo = new CallInfo(new Argument[0]); _callInfoFactory.stub(x => x.Create(call)).Return(callInfo); return(callInfo); }
public override void Context() { _call = mock <ICall>(); _callInfo = new CallInfo(new Argument[0]); _callInfoFactory = mock <ICallInfoFactory>(); _callInfoFactory.stub(x => x.Create(_call)).Return(_callInfo); }