public void TestCloseThenDeleteDatabase() { Db.Dispose(); Db.Invoking(DeleteDB).ShouldThrow <InvalidOperationException>(); }