public void GetDepartment(int departmentId)
        {
            var departments = new DepartmentCollection {
                new Department {
                    Title = "Title", DisplayOrder = 2, Type = DepartmentType.Public
                }
            };

            string apiMethod = String.Format("{0}/{1}", ApiBaseMethods.Departments, departmentId);

            _kayakoApiRequest.Setup(x => x.ExecuteGet <DepartmentCollection>(apiMethod)).Returns(departments);

            var departmentsResult = _departmentController.GetDepartment(departmentId);

            _kayakoApiRequest.Verify(x => x.ExecuteGet <DepartmentCollection>(apiMethod), Times.Once());
            Assert.That(departmentsResult, Is.EqualTo(departments.First()));
        }
        /// <summary>
        /// Confirm deletion of a department
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public ActionResult ConfirmDeleteDepartment(int id)
        {
            DepartmentDto model = (DepartmentDto)_departmentController.GetDepartment(UserId, id);

            return(View(model));
        }