public CodeFunction(IMethod method, IDocumentLoader documentLoader, IVirtualMethodUpdater methodUpdater) : base(method) { this.Method = method; this.documentLoader = documentLoader; this.methodUpdater = methodUpdater; }
void CreateFunction() { methodUpdater = MockRepository.GenerateStub <IVirtualMethodUpdater>(); codeFunction = new CodeFunction(helper.Method, null, methodUpdater); }
void CreateFunction() { methodUpdater = MockRepository.GenerateStub<IVirtualMethodUpdater>(); codeFunction = new CodeFunction(helper.Method, null, methodUpdater); }