GetItem() public method

Returns the item information for the items with the given ID
public GetItem ( int itemID ) : GW2PAO.API.Data.Entities.Item
itemID int ID of the item
return GW2PAO.API.Data.Entities.Item
        public void CommerceService_GetItem_ByID_Valid()
        {
            CommerceService cs = new CommerceService();

            var sw = new Stopwatch();
            sw.Start();
            var item = cs.GetItem(VALID_ITEM_NAME_ID);
            sw.Stop();
            Console.WriteLine("To retrieve details of an item using a valid ID, it took {0}ms", sw.ElapsedMilliseconds);

            Assert.IsNotNull(item);
            Assert.AreEqual(VALID_ITEM_NAME_ID, item.ID);
            Assert.AreEqual(VALID_ITEM_NAME, item.Name);
            // TODO: check more
        }
        public void CommerceService_GetItem_ByID_Invalid()
        {
            CommerceService cs = new CommerceService();

            var sw = new Stopwatch();
            sw.Start();
            var item = cs.GetItem(-1);
            sw.Stop();
            Console.WriteLine("To retrieve details of an item using a invalid ID, it took {0}ms", sw.ElapsedMilliseconds);

            Assert.IsNull(item);
        }
        public void CommerceService_GetItem_ByNameRarityLevel_Invalid()
        {
            CommerceService cs = new CommerceService();

            var sw = new Stopwatch();
            sw.Start();
            var item = cs.GetItem(INVALID_ITEM_NAME, Data.Enums.ItemRarity.Basic, 0);
            sw.Stop();
            Console.WriteLine("To retrieve details of an item using a invalid name, it took {0}ms", sw.ElapsedMilliseconds);

            Assert.IsNull(item);
        }