public void ActionNameFor_2Argument() { string result = MvcHelper.ActionNameFor <SomeController>(p => p.SomeAction2(0, null)); Assert.AreEqual("SomeAction2", result); }
public void ActionNameFor_3Argument() { string result = MvcHelper.ActionNameFor <SomeController>(p => p.SomeAction3(7, "fdsa", 9)); Assert.AreEqual("SomeAction3", result); }
public void ActionNameFor_NoArguments() { string result = MvcHelper.ActionNameFor <SomeController>(p => p.SomeAction()); Assert.AreEqual("SomeAction", result); }