public void Assert_receipt_is_correct() { Organizer organizer = new Organizer(); SocialEvent socialEvent = new SocialEvent(10, 100, organizer, "TestCategory", "TestName"); Ticket ticket = new Ticket(socialEvent); Vipps vipps = new Vipps(); Receipt receipt = new Receipt(4, ticket, "kr", vipps.ToString()); string result = receipt.GenerateReceipt(); Approvals.Verify(result); }
public void SetUp() { creditCard = new CreditCard(); vipps = new Vipps(); }