public void DataCrmStoreWriterConstructorWithCancellationToken()
        {
            MockCrmStoreWriterConfig.SetupProperty(a => a.SaveBatchSize, 12);
            MockCrmStoreWriterConfig.SetupGet(a => a.NoUpsertEntities).Returns(new List <string>());
            MockCrmStoreWriterConfig.SetupGet(a => a.NoUpdateEntities).Returns(new List <string>());

            FluentActions.Invoking(() => new DataCrmStoreWriter(MockLogger.Object, MockEntityRepo.Object, MockCrmStoreWriterConfig.Object))
            .Should()
            .NotThrow();
        }
        public void CrmFileDataImporterConstructor3()
        {
            mockReaderConfig.SetupProperty(a => a.FilePrefix, "Import");
            mockReaderConfig.SetupProperty(a => a.JsonFolderPath, "TestData");
            MockCrmStoreWriterConfig.SetupProperty(a => a.SaveBatchSize, 500);

            FluentActions.Invoking(() => new CrmFileDataImporter(MockLogger.Object, MockEntityRepo.Object, mockReaderConfig.Object, MockCrmStoreWriterConfig.Object, mockCrmGenericImporterConfig.Object, CancellationToken.None))
            .Should()
            .NotThrow();

            mockReaderConfig.VerifyGet(a => a.FilePrefix);
            mockReaderConfig.VerifyGet(a => a.JsonFolderPath);
            MockEntityRepo.VerifyAll();
            MockCrmStoreWriterConfig.VerifyGet(a => a.SaveBatchSize);
        }