public void ToString_ContainsBrandId() { var uri = new RetrieveBrandUri("myId", "myKey", "brandId"); var result = uri.ToString(); Assert.IsTrue(result.Contains("brand/brandId")); }
public void ToString_ContainsAppKey() { var uri = new RetrieveBrandUri("myId", "myKey", "itemId"); var result = uri.ToString(); Assert.IsTrue(result.Contains("appKey=myKey")); }