public void GetDetails()
 {
     TestSetup();
     var controller = new EmployeeController(mockEmployeeRepository);
     TestSetupController(controller);
     HttpResponseMessage result = controller.GetDetails(empDetail);
     Assert.AreEqual(result.StatusCode, HttpStatusCode.OK);
 }
 public void UpdateDetails()
 {
     var emp = new EmployeeModel { ID = 1, Name = "Updated"};
     TestSetup();
     var controller = new EmployeeController(mockEmployeeRepository);
     TestSetupController(controller);
     HttpResponseMessage result = controller.UpdateEmployeeById(emp);
     Assert.AreEqual(result.StatusCode, HttpStatusCode.OK);
 }