public void TestCombinedTicket() { var sb = new StringBuilder(); List <ILineItems> orderTicket = new List <ILineItems>(); orderTicket.Add(ItemTicket.GetWeaponTicket("Short Sword")); orderTicket.Add(ItemTicket.GetMaterialIngot("Cold Iron")); orderTicket.Add(ItemTicket.GetSpecialAbilityTicket("Icy Burst")); foreach (var item in orderTicket) { sb.AppendLine(item.ToString() + Environment.NewLine); } Approvals.Verify(sb.ToString()); }
public void TestGetWeaponItem() { var weapon = ItemTicket.GetWeaponTicket("Dagger"); Approvals.Verify(LineItemDisplayUtilites.BasicDisplay(weapon)); }