public void should_drop_database_when_deployed_with_dropDatabase_option() { using (var sut = new TemporaryDatabase()) { sut.Deploy(string.Empty, string.Empty, true); Assert.True(!sut.Exists()); } }
public void should_remove_database_when_disposed() { var sut = new TemporaryDatabase(); sut.Deploy(); sut.Dispose(); Assert.That(sut.Exists(), Is.False); }