public void should_remove_database_when_disposed()
        {
            var sut = new TemporaryDatabase();

            sut.Deploy();
            sut.Dispose();
            Assert.That(sut.Exists(), Is.False);
        }
        public void TearDown()
        {
            if (_temporaryDatabase == null)
            {
                return;
            }

            FbDatabase.DropDatabase(_temporaryDatabase.ConnectionString);
            _temporaryDatabase.Dispose();
            _temporaryDatabase = null;
        }
        public void should_dispose_when_not_deployed()
        {
            var sut = new TemporaryDatabase();

            sut.Dispose();
        }