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 TestRequestSpecialAbility() { var specialAbility = ItemTicket.GetSpecialAbilityTicket("Flaming"); Approvals.Verify(LineItemDisplayUtilites.BasicSpecialAbilityDisplay(specialAbility)); }