Example #1
0
        public void Search_ShouldReturnResults()
        {
            _gateway.Initialize();
            var results = _gateway.Search("מנות", "name").Result;

            Assert.AreEqual(10, results.Count);
        }
Example #2
0
        public void Search_ShouldReturnResults()
        {
            var gateway = new ElasticSearchGateway(new TraceLogger());

            gateway.Initialize();
            var results = gateway.Search("מנות", "name").Result;

            Assert.AreEqual(10, results.Count);
        }