コード例 #1
0
        public void ToString_ContainsBrandId()
        {
            var uri = new RetrieveBrandUri("myId", "myKey", "brandId");
            var result = uri.ToString();

            Assert.IsTrue(result.Contains("brand/brandId"));
        }
コード例 #2
0
        public void ToString_ContainsAppKey()
        {
            var uri = new RetrieveBrandUri("myId", "myKey", "itemId");
            var result = uri.ToString();

            Assert.IsTrue(result.Contains("appKey=myKey"));
        }