public async void Delete()
        {
            Mock <ILogger <CurrencyRateRepository> > loggerMoc = CurrencyRateRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = CurrencyRateRepositoryMoc.GetContext();
            var          repository      = new CurrencyRateRepository(loggerMoc.Object, context);
            CurrencyRate entity          = new CurrencyRate();

            context.Set <CurrencyRate>().Add(entity);
            await context.SaveChangesAsync();

            await repository.Delete(entity.CurrencyRateID);

            CurrencyRate modifiedRecord = await context.Set <CurrencyRate>().FirstOrDefaultAsync();

            modifiedRecord.Should().BeNull();
        }
        public async void Update_Entity_Is_Not_Tracked()
        {
            Mock <ILogger <CurrencyRateRepository> > loggerMoc = CurrencyRateRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = CurrencyRateRepositoryMoc.GetContext();
            var          repository      = new CurrencyRateRepository(loggerMoc.Object, context);
            CurrencyRate entity          = new CurrencyRate();

            context.Set <CurrencyRate>().Add(entity);
            await context.SaveChangesAsync();

            await repository.Update(new CurrencyRate());

            var modifiedRecord = context.Set <CurrencyRate>().FirstOrDefaultAsync();

            modifiedRecord.Should().NotBeNull();
        }