public void TestGetAll()
        {
            RestaurauntController cont = new RestaurauntController();
            string expected            = "GetAll";
            var    action = cont.GetAll(null) as ViewResult;
            string actual = action.ViewName;

            Assert.AreEqual(expected, actual);
        }
        public void TestCreate()
        {
            RestaurauntController cont       = new RestaurauntController();
            Restauraunt           testeraunt = new Restauraunt()
            {
                Name    = "Testeraunt",
                City    = "Nowhere",
                State   = "Utah",
                Address = "12345 Streetname"
            };
            string expected = "Create";
            var    action   = cont.Create(testeraunt) as ViewResult;
            string actual   = action.ViewName;

            Assert.AreEqual(expected, actual);
        }