public void SearchProdueserTest() { _client.ApplyLanguage(Languages.Ukrainian); const string ProduserName = "******"; var responseSearchProductModel = _client.SearchProductResponse(ProduserName); responseSearchProductModel.Results.Any(r => r.Title.ToLower().Contains(ProduserName.ToLower())).Should().BeTrue("Title should contain search term"); responseSearchProductModel.Results.Any(r => r.Currency.Contains("uah")).Should().BeTrue("Currency should contain uah"); responseSearchProductModel.Results.Any(r => r.Producer.Trademark.Contains(ProduserName.ToUpper())).Should().BeTrue("Producer should contain search term"); responseSearchProductModel.Results.Any(r => r.Price > 0).Should().BeTrue("Price should be > 0"); responseSearchProductModel.Results.Any(r => r.Weight > 0).Should().BeTrue("Weight should be > 0"); responseSearchProductModel.Count.Should().BePositive("Product count should be > 0"); }