public void ThenReminderExistsForTask(string reminder, string task) { if (!EventPanel.ReminderExists(task, reminder)) { throw new ArgumentException(String.Format("Reminder '{0}' does not exist for task '{1}'", reminder, task)); } }