Example #1
0
 public void ThenAnEventExistsWithTheNameStartDateAndLocation(string eventName, string startDate, string location)
 {
     eventName += uniqueStamp;
     if (!EventPanel.IsEventName(eventName))
     {
         throw new ArgumentException("Current event does not have the name " + eventName);
     }
     if (!EventPanel.IsStartDate(startDate))
     {
         throw new ArgumentException("Current event does not have the start date " + startDate);
     }
     if (!EventPanel.IsLocation(location))
     {
         throw new ArgumentException("Current event does not have the location " + location);
     }
 }