コード例 #1
0
 public SendAndMoveHandlerTest()
 {
     _fileReadNotifier    = new NotifierMock();
     _fileContentNotifier = new NotifierMock();
     _fileHandler         = new FileHandlerMock();
     _sendAndMoveHandler  = new SendAndMoveHandler(_fileReadNotifier, _fileContentNotifier, _fileHandler);
 }
コード例 #2
0
 public OrchardServicesMock(MockBehavior mockBehavior)
 {
     ContentManagerMock = new ContentManagerMock(mockBehavior);
     TransactionManagerMock = new TransactionManagerMock(mockBehavior);
     AuthorizerMock = new AuthorizerMock(mockBehavior);
     NotifierMock = new NotifierMock(mockBehavior);
     WorkContextMock = new WorkContextMock(mockBehavior);
     New = new ShapeFactoryMock();
 }