public ContactMethodOpenTestImplementation(IDateTime dateTime, IOpenHours openHours) : base(dateTime, openHours) { }
protected ContactMethodOpen(IDateTime dateTime, IOpenHours openHours) { _dateTime = dateTime; _openHours = openHours; }
public void Setup() { Environment.SetEnvironmentVariable(new CallCenterHoursKey(), "[{'DayOfWeek': 'Sunday','OpenTime': '10:00:00','CloseTime': '16:00:00'},{'DayOfWeek': 'Monday','OpenTime': '6:00:00','CloseTime': '18:00:00'},{'DayOfWeek': 'Tuesday','OpenTime': '6:00:00','CloseTime': '18:00:00'},{'DayOfWeek': 'Wednesday','OpenTime': '6:00:00','CloseTime': '18:00:00'},{'DayOfWeek': 'Thursday','OpenTime': '6:00:00','CloseTime': '18:00:00'},{'DayOfWeek': 'Friday','OpenTime': '6:00:00','CloseTime': '18:00:00'},{'DayOfWeek': 'Saturday','OpenTime': '8:00:00','CloseTime': '17:00:00'}]"); _openHours = new OpenHours(new CallCenterHoursKey()); }