public void AccomodationFacilitiesDeleteNotFound() { AccomodationFacilitiesController controller = new AccomodationFacilitiesController(); var result = (HttpStatusCodeResult)controller.Delete(-3); Assert.AreEqual(404, result.StatusCode); Assert.IsInstanceOfType(result, typeof(HttpStatusCodeResult)); }
public void AccomodationFacilitiesDelete() { AccomodationFacilitiesController controller = new AccomodationFacilitiesController(); var result = controller.Delete(4); Assert.IsNotNull(result); }