Example #1
0
        public void ItemTypes_WalkMarketGroupParentage(int itemTypeId)
        {
            var it = ItemTypes.GetItemType(itemTypeId).Value;

            var mg  = ItemTypes.GetMarketGroup(it);
            var mgs = MarketGroups.GetParents(mg.Value).ToList();

            mgs.Should().HaveCountGreaterThan(0);
        }
Example #2
0
        public void ItemTypes_AccessRelatedEntities(int itemTypeId)
        {
            var it = ItemTypes.GetItemType(itemTypeId).Value;

            var mg = ItemTypes.GetMarketGroup(it);
            var g  = ItemTypes.GetGroup(it);
            var c  = Groups.GetCategory(g);

            g.Should().NotBeNull();
            c.Should().NotBeNull();
        }