public async void Create()
        {
            Mock <ILogger <TransactionStatusRepository> > loggerMoc = TransactionStatusRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = TransactionStatusRepositoryMoc.GetContext();
            var repository = new TransactionStatusRepository(loggerMoc.Object, context);

            var entity = new TransactionStatus();
            await repository.Create(entity);

            var record = await context.Set <TransactionStatus>().FirstOrDefaultAsync();

            record.Should().NotBeNull();
        }
        public async void Create()
        {
            Mock <ILogger <TransactionStatusRepository> > loggerMoc = TransactionStatusRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = TransactionStatusRepositoryMoc.GetContext();
            var repository = new TransactionStatusRepository(loggerMoc.Object, context);

            var entity = new TransactionStatus();

            entity.SetProperties(default(int), "B");
            await repository.Create(entity);

            var records = await context.Set <TransactionStatus>().ToListAsync();

            records.Count.Should().Be(2);
        }