Пример #1
0
        public async Task ReadAndWriteAllHKGenesToDataBase_ValidGenes_InDatabase()
        {
            //Arrange
            var manager  = new HKGeneFileManager();
            var filePath = Config.HouseKeepingGenesFilePath;
            //Act
            await manager.ReadAndWriteAllHKGenesToDataBase(filePath);

            //Assert
            Assert.IsTrue(DBContext.HKGenes.Any());
        }
Пример #2
0
 public async Task GetHkGenesFromFile(string filePath)
 {
     FileManager = new HKGeneFileManager();
     await FileManager.ReadAndWriteAllHKGenesToDataBase(filePath);
 }