private void ModuleHostDriverCode() { Mock <IModuleHost> myModuleHostMock = new Mock <IModuleHost>(); myModuleHostMock.Setup(call => call.PostOutputDataItems( It.IsAny <DataItem>(), It.IsAny <ModuleHostCallback.DataItemAcknowledgementCallback>(), It.IsAny <object>())); ModuleHostCallDispatcher dispatcher = new ModuleHostCallDispatcher(myModuleHostMock.Object); }
private void ModuleHostDriverCode() { Mock<IModuleHost> myModuleHostMock = new Mock<IModuleHost>(); myModuleHostMock.Setup(call => call.PostOutputDataItems( It.IsAny<DataItem>(), It.IsAny<ModuleHostCallback.DataItemAcknowledgementCallback>(), It.IsAny<object>())); ModuleHostCallDispatcher dispatcher = new ModuleHostCallDispatcher(myModuleHostMock.Object); }