public ShopItemTests() { _shopItem = new ShopItem(); var fixture = new OmitRecursionFixture(); _category = fixture.Create <Category>(); fixture.Freeze <ShopItem>(); _shopItemLeft = fixture.Create <ShopItem>(); _shopItemRight = fixture.Create <ShopItem>(); }
public CategoryTests() { _category = new Category(); var fixture = new OmitRecursionFixture(); _shopItems = fixture.CreateMany <ShopItem>().ToList(); fixture.Freeze <Category>(); _categoryLeft = fixture.Create <Category>(); _categoryRight = fixture.Create <Category>(); }