public void rangeTest() { SearchRequest searchRequest = new SearchRequest(); searchRequest.text = "Nintendo"; RangeRequest rangeRequest = new RangeRequest(); rangeRequest.searchRequest = searchRequest; rangeRequest.addField("price"); RangeResponse response = searchClient.range(rangeRequest); //Assert.IsTrue( response.ranges.get("price").getMin() == 0); //assert response.getRanges().get("price").getMax() > 0; }
public RangeResponse range(RangeRequest rangeRequest) { return (RangeResponse) callAndConvert("/search", new RangeResponse().GetType(), rangeRequest.getQueryParams()); }
public RangeResponse range(RangeRequest rangeRequest) { throw new NotImplementedException("Implement me"); }