public void Dispose() { documentStore.Dispose(); ravenDbServer.Dispose(); if (Directory.Exists(path)) Directory.Delete(path, true); }