public void should_build_request() { var request = new SearchRequest(); request.Lang = "ru"; request.Expand = SearchRequest.ExpandFields.DATES; request.IncludeInactual = false; request.IsFree = true; request.CType = CType.News; request.Q = ""; var log = request.Log(); Assert.AreEqual("https://kudago.com/public-api/v1.3/search/?q=&ctype=news&expand=dates&lang=ru&is_free=true", log); }