public void RoomPricesDeleteNotFound() { RoomPricesController controller = new RoomPricesController(); var result = (HttpStatusCodeResult)controller.Delete(-1); Assert.AreEqual(404, result.StatusCode); Assert.IsInstanceOfType(result, typeof(HttpStatusCodeResult)); }
public void RoomPricesDelete() { RoomPricesController controller = new RoomPricesController(); var result = controller.Delete(1); Assert.IsNotNull(result); }