private MySqlStorage CreateStorage() { return(new MySqlStorage( ConnectionUtils.GetConnectionString(), _options)); }
private MySqlConnection CreateConnection() { return(ConnectionUtils.CreateConnection()); }
public CountersAggregatorTests() { _connection = ConnectionUtils.CreateConnection(); _storage = new MySqlStorage(_connection); _sut = new CountersAggregator(_storage, TimeSpan.Zero); }
private ElasticStorage.ElasticStorage CreateStorage() { return(new ElasticStorage.ElasticStorage( ConnectionUtils.GetConnectionString(), _options)); }