public void Setup() { _path = Path.GetTempFileName(); _connString = string.Format("Data Source={0};", _path); File.Delete(_path); SQLiteEventStore.EnsureDatabaseExists(_connString); _connection = new SQLiteConnection(_connString); _connection.Open(); _transaction = _connection.BeginTransaction(); _context = new ManualSQLiteContext(); _context.SetContext(_connection, _transaction); _store = new SQLiteEventStore(_context); }