public void Post_InvalidObjectPassed_ReturnsBadRequest() { // Arrange Hospital hospital = null; // Act var response = hospitalController.Post(hospital); //Assert Assert.IsType <BadRequestErrorMessageResult>(response); }