public async void Get()
        {
            Mock <ILogger <ServerTaskRepository> > loggerMoc = ServerTaskRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = ServerTaskRepositoryMoc.GetContext();
            var repository = new ServerTaskRepository(loggerMoc.Object, context);

            ServerTask entity = new ServerTask();

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

            var record = await repository.Get(entity.Id);

            record.Should().NotBeNull();
        }
        public async void Update_Entity_Is_Tracked()
        {
            Mock <ILogger <ServerTaskRepository> > loggerMoc = ServerTaskRepositoryMoc.GetLoggerMoc();
            ApplicationDbContext context = ServerTaskRepositoryMoc.GetContext();
            var        repository        = new ServerTaskRepository(loggerMoc.Object, context);
            ServerTask entity            = new ServerTask();

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

            var record = await repository.Get(entity.Id);

            await repository.Update(record);

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

            modifiedRecord.Should().NotBeNull();
        }