public void GetEventsByCustomerNameTest() { IEnumerable <@event> events = EventCRUD.GetEventsByCustomerName("Paris", "Hilton"); Assert.AreEqual(events.Count(), 1); Assert.AreEqual(events.ElementAt(0).amount, 20); }
public void GetEventsByCustomerNameTest() { IEnumerable <@event> events = EventCRUD.GetEventsByCustomerName("Paris", "Hilton"); Assert.AreEqual(events.Count(), 1); Assert.AreEqual(events.ElementAt(0).amount, 20); }