public void SaveBatchDataToStore()
        {
            List <EntityWrapper> entities = new List <EntityWrapper>
            {
                new EntityWrapper(new Entity("contact", Guid.NewGuid())
                {
                })
            };

            FluentActions.Invoking(() => systemUnderTest.SaveBatchDataToStore(entities))
            .Should()
            .NotThrow();
        }
        public void SaveBatchDataToStoreTest()
        {
            if (Directory.Exists(extractPath))
            {
                Directory.Delete(extractPath, true);
            }

            Directory.CreateDirectory(extractPath);

            CrmSchemaConfiguration schemaConfig = GetSchema();

            DataFileStoreWriterCsv store = new DataFileStoreWriterCsv(new ConsoleLogger(), "test", extractPath, null, schemaConfig);

            List <EntityWrapper> entities = PrepareEntities();

            FluentActions.Invoking(() => store.SaveBatchDataToStore(entities))
            .Should()
            .NotThrow();
        }