public void TestGetappointment() { //Arrange var appintmentID = 1; AppointmentsController appointmentController = new AppointmentsController(); //Act IHttpActionResult actionResult = appointmentController.Getappointmentt(appintmentID); //Assert Assert.IsNotNull(actionResult); }