Exemplo n.º 1
0
        public RenameMnemonicWorkerTests()
        {
            var configuration        = ConfigurationReader.GetConfig();
            var witsmlClientProvider = new WitsmlClientProvider(configuration);

            worker = new RenameMnemonicWorker(witsmlClientProvider);
        }
Exemplo n.º 2
0
        public RenameMnemonicWorkerTests()
        {
            var witsmlClient         = new Mock <IWitsmlClient>();
            var witsmlClientProvider = new Mock <IWitsmlClientProvider>();

            witsmlClientProvider.Setup(provider => provider.GetClient()).Returns(witsmlClient.Object);
            worker = new RenameMnemonicWorker(witsmlClientProvider.Object);
        }