Exemple #1
0
            protected CallInfo StubCallInfoForCall(ICall call)
            {
                var callInfo = new CallInfo(new Argument[0]);

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