public void TestCleanup() { Factory.RestoreSnapshot(_OriginalFactory); if (_LogDatabase != null) { _LogDatabase.Dispose(); } _LogDatabase = null; if (File.Exists(_FullPath)) { File.Delete(_FullPath); } }