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

            StudentXFamily entity = new StudentXFamily();

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

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

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

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

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

            await repository.Update(record);

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

            modifiedRecord.Should().NotBeNull();
        }