void SetDocumentFileName(string fileName) { documentView.Stub(view => view.RefactoringDocument).Return(document); documentLoader.Stub(loader => loader.LoadRefactoringDocumentView(fileName)).Return(documentView); }
void DocumentFileName(string fileName) { documentLoader.Stub(loader => loader.LoadRefactoringDocumentView(fileName)).Return(documentView); }