public void Initialize()
 {
     _calendar = new Calendar();
     _calendar.SetDate(2015, 7);
     _holidays = new List<Day>();
     _employee = new Employee {Holidays = _holidays};
     _employeeCalendar = new EmployeeCalendarViewModel(_employee, _calendar, true, new EmployeeRepositoryStub());
 }
        public void UnauthorizedEmployeeCannotPerformChanges()
        {
            _employeeCalendar = new EmployeeCalendarViewModel(_employee, _calendar, false, new EmployeeRepositoryStub());

            Assert.IsFalse(_employeeCalendar.SelectionChangedCommand.CanExecute(null));
            Assert.IsFalse(_employeeCalendar.MarkDayCommand.CanExecute(null));
            Assert.IsFalse(_employeeCalendar.ClearHolidayCommand.CanExecute(null));
        }