/// <summary> /// The get number of reviews for natibaby. /// </summary> /// <returns> /// The <see cref="int"/>. /// </returns> private int GetNumberOfReviewsForNatibaby() { var brandInfo = wtApi.BrandInfoByBrandId("5"); var numberOfReviews = brandInfo.NumOfReviews; return(numberOfReviews); }
public void TestBasicBrandInfoByBrandId() { var info = wtApi.BrandInfoByBrandId("34"); StfAssert.AreEqual("Name", "Ali Dover", info.Name); StfAssert.AreEqual("NumOfWraps", 117, info.NumOfWraps); StfAssert.AreEqual("NumOfModels", 33, info.NumOfModels); StfAssert.AreEqual("NumOfPatterns", 3, info.NumOfPatterns); StfAssert.AreEqual("NumOfReviews", 1, info.NumOfReviews); StfAssert.AreEqual("PrimImagesId", "22007", info.PrimImagesId); }