Пример #1
0
 public SearchIndexBuilder(IElasticClient client, IBoardGameCsvReader boardGameCsvReader)
 {
     _client             = client;
     _boardGameCsvReader = boardGameCsvReader;
 }
Пример #2
0
 public SearchIndexBuilderTests()
 {
     _mockClient         = Substitute.For <IElasticClient>();
     _mockCsvReader      = Substitute.For <IBoardGameCsvReader>();
     _searchIndexBuilder = new SearchIndexBuilder(_mockClient, _mockCsvReader);
 }