private void HandleSetUp(IGetBillablePeople GetBillablePeople) { var remindBillablePeople = new RemindBillablePeople(GetBillablePeople, _sendReminderSpy); remindBillablePeople.Execute( new RemindBillablePeopleRequest { Message = "TIMESHEETS ARE GOOD YO!" } ); }
public RemindBillablePeople(IGetBillablePeople getBillablePeople, ISendReminder sendReminder) { _getBillablePeople = getBillablePeople; _sendReminder = sendReminder; }