public void RoomTypeDelete() { RoomTypesController controller = new RoomTypesController(); var result = controller.Delete(1); Assert.IsNotNull(result); }
public void RoomTypesDeleteNull() { RoomTypesController controller = new RoomTypesController(); var result = (HttpStatusCodeResult)controller.Delete(null); Assert.IsInstanceOfType(result, typeof(HttpStatusCodeResult)); Assert.AreEqual(400, result.StatusCode); }