public void YastahDbContext_Always_ModelMatchesMigrationsSnapshot()
        {
            var optionsBuilder = new DbContextOptionsBuilder <YastahDbContext>()
                                 .UseNpgsql("Bogus connection string: we don't actually need to connect to the DB, just build ourselves a model.", optionsBuilder => optionsBuilder
                                            .MigrationsAssembly(typeof(YastahDbContextDesignTimeFactory).Assembly.FullName));

            var concurrencyResolutionService = Mock.Of <IConcurrencyResolutionService>();

            using var context = new YastahDbContext(
                      optionsBuilder.Options,
                      concurrencyResolutionService);

            var infrastructure = context.GetInfrastructure();

            var differences = infrastructure.GetRequiredService <IMigrationsModelDiffer>().GetDifferences(
                infrastructure.GetRequiredService <IMigrationsAssembly>().ModelSnapshot.Model,
                context.Model);

            differences.ShouldBeEmpty();
        }