Initialize() публичный Метод

public Initialize ( string uri = "http://localhost:9200/", bool deleteIndex = false ) : void
uri string
deleteIndex bool
Результат void
 public void Search_ShouldReturnResults()
 {
     var gateway = new ElasticSearchGateway(new TraceLogger());
     gateway.Initialize();
     var results = gateway.Search("מנות", "name").Result;
     Assert.AreEqual(10, results.Count);
 }
 public void GetHighways_ShouldReturnResults()
 {
     var gateway = new ElasticSearchGateway(new TraceLogger());
     gateway.Initialize();
     var northEast = new LatLng(31.7553, 35.0516);
     var southWest = new LatLng(31.7467, 35.0251);
     var results = gateway.GetHighways(northEast, southWest).Result;
     Assert.AreEqual(36, results.Count);
 }