public void LoadingFileShouldFindUpgradeScript()
 {
     var testSubject = new MigrationSpecification(new MigrationFile(new StringReader(TrivialMigration), ValidFileName));
     testSubject.Apply.Should().Be("create table Foo;");
 }
 public void LoadingFileShouldFindSectionToAddTestData()
 {
     var testSubject = new MigrationSpecification(new MigrationFile(new StringReader(TrivialMigration), ValidFileName));
     testSubject.InsertTestData.Should().Be("insert into Foo;");
 }
 public void LoadingFileShouldFindSectionToDeleteTestData()
 {
     var testSubject = new MigrationSpecification(new MigrationFile(new StringReader(TrivialMigration), ValidFileName));
     testSubject.DeleteTestData.Should().Be("delete from Foo;");
 }
 public void LoadingFileShouldFindMigrationVersionNumber()
 {
     var testSubject = new MigrationSpecification(new MigrationFile(new StringReader(TrivialMigration), ValidFileName));
     testSubject.Version.Should().Be(3345);
 }