public void Executes_Migration_For_Spanning_One_Target_2() { var runner = new MigrationRunner( Mock.Of <IMigrationEntryService>(), Mock.Of <ILogger>(), new SemVersion(5, 0, 1), new SemVersion(6, 0, 0), "Test"); var migrations = runner.OrderedUpgradeMigrations(new List <IMigration> { new MultiMigration(new SqlCeSyntaxProvider(), Mock.Of <ILogger>()) }); var ctx = runner.InitializeMigrations( //new List<IMigration> {new DoRunMigration(), new DoNotRunMigration()}, migrations.ToList(), new Database("umbracoDbDSN") , DatabaseProviders.SqlServerCE, true); Assert.AreEqual(1, ctx.Expressions.Count()); }