Exemplo n.º 1
0
        public async Task ProductCheckTest()
        {
            await Assert.ThrowsAsync <ArgumentException>(() => JdVopApi.ProductCheckAsync(null, default));

            var res = await ApiInstance.ProductCheckAsync(TestHelper.SkuNormal1);

            Assert.True(res.Success, res.ResultMessage);
            var result = res.Result;

            Assert.NotNull(result);
            Assert.NotEmpty(result);
        }