Ejemplo n.º 1
0
        public async Task GetItemsByIdsAsyncTest()
        {
            var itemIds = new List <int> {
                _configData.ItemId
            };
            var itemObject = await _clientObject.GetItemsByIdsAsync(itemIds);

            Assert.IsNotNull(itemObject);
            Assert.AreEqual(itemObject.ToList()[0].Data.Id, _configData.ItemId);
            Assert.AreEqual(itemObject.ToList().Count, 1);
        }