public void AccomodationsEditNew()
        {

            AccomodationsController controller = new AccomodationsController();
            Accomodation acc = new Accomodation();
            acc.AccomodationId = 1;
            acc.AccomodationInfoId = 1;
            acc.AccomodationName = "Test Accomodation";
            acc.AccomodationTypeId = 1;
            acc.Description = "Test accomodation desctiption";
            acc.NumberOfRooms = 999;
            acc.StarRating = 4;

            var result = controller.Edit(acc);
            Assert.IsInstanceOfType(result, typeof(RedirectToRouteResult));
            //ok


        }
        public void AccomodationsEdit()
        {
            AccomodationsController controller = new AccomodationsController();
            var result = (HttpStatusCodeResult)controller.Edit((int?)null);
            Assert.AreEqual(400, result.StatusCode);
            Assert.IsInstanceOfType(result, typeof(HttpStatusCodeResult));

        }