public void ItemCanBeAddedToInventory() { var testSubject = new CharacterInventory(); var item = new Item("Fake item", 0); testSubject.Add(item); testSubject.Should().Contain(item); }
public void CharacterCanBeInitializedWithItemInInventory() { var item = new Item("Fake item", 0); var character = new Character { Inventory = { item } }; character.Inventory.Should().Contain(item); }