public void AddValidRestaurant()
        {
            // Arrange
            var db = new FakeRestaurantDb();
            RestaurantController controller = new RestaurantController(db);
               // Act
            //ViewResult result = controller.Create() as ViewResult;

            ViewResult result = controller.Create(new Restaurant()) as ViewResult;
              //  IEnumerable<Restaurant> model= result.Model as IEnumerable<Restaurant>;

            // Assert
            Assert.IsNull(result);
        }
        public void AddInvalidRestaurant()
        {
            // Arrange
            var db = new FakeRestaurantDb();
            RestaurantController controller = new RestaurantController(db);
            // Act
            //ViewResult result = controller.Create() as ViewResult;
            controller.ModelState.AddModelError("", "Invalid Object");

             ViewResult result= controller.Create(new Restaurant()) as ViewResult;
             IEnumerable<Restaurant> model = result.Model as IEnumerable<Restaurant>;

            // Assert
             Assert.IsNotNull(result);
        }