public void ToString_ContainsItemId() { var uri = new RetrieveItemUri("myId", "myKey", "itemId"); var result = uri.ToString(); Assert.IsTrue(result.Contains("item/itemId")); }
public void ToString_ContainsUPC() { var uri = new RetrieveItemUri("myId", "myKey", upc: "myUPC"); string result = uri.ToString(); StringAssert.Contains("upc=myUPC", result); }
public void ToString_ContainsItemId() { var uri = new RetrieveItemUri("myId", "myKey", "itemId"); string result = uri.ToString(); StringAssert.Contains("id=itemId", result); }