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()); }
public async Task GetHkGenesFromFile(string filePath) { FileManager = new HKGeneFileManager(); await FileManager.ReadAndWriteAllHKGenesToDataBase(filePath); }