예제 #1
0
 public static List <DiffLog> GenerateDiffs(int count = 2)
 {
     return(new List <DiffLog>()
     {
         DiffLog.Create("NDWH", "PatientExtract"),
         DiffLog.Create("NDWH", "PatientArtExtract")
     });
 }
예제 #2
0
        public void should_Save_Log_New()
        {
            var diffLog = DiffLog.Create("NDWH", "PatientVisitExtract");

            _repository.SaveLog(diffLog);


            var context      = TestInitializer.ServiceProvider.GetService <ExtractsContext>();
            var savedDiffLog = context.DiffLogs.Find(diffLog.Id);

            Assert.NotNull(savedDiffLog);
        }