Exemplo n.º 1
0
        public void ActionNameFor_2Argument()
        {
            string result = MvcHelper.ActionNameFor <SomeController>(p => p.SomeAction2(0, null));

            Assert.AreEqual("SomeAction2", result);
        }
Exemplo n.º 2
0
        public void ActionNameFor_3Argument()
        {
            string result = MvcHelper.ActionNameFor <SomeController>(p => p.SomeAction3(7, "fdsa", 9));

            Assert.AreEqual("SomeAction3", result);
        }
Exemplo n.º 3
0
        public void ActionNameFor_NoArguments()
        {
            string result = MvcHelper.ActionNameFor <SomeController>(p => p.SomeAction());

            Assert.AreEqual("SomeAction", result);
        }