public void DeleteFlight() { ActionResult <Flight> response = flightPlanController.Delete(returnedPlan.FlightId); var result = response.Result as OkObjectResult; Assert.AreEqual(result.StatusCode, 200); }