private GetStateNameUsingMethodName ( int stateNumber ) : string | ||
stateNumber | int | |
Результат | string |
public void MakeSynchronousCalls() { StateName proxy = new StateName(); string ret1 = proxy.GetStateNameUsingMethodName(1); Assert.AreEqual("Alabama", ret1); string ret2 = proxy.GetStateNameUsingMethodInfo(1); Assert.AreEqual("Alabama", ret2); string ret3 = proxy.GetStateNameUsingMethodName("1"); Assert.AreEqual("Alabama", ret3); string ret4 = proxy.GetStateNameUsingMethodInfo("1"); Assert.AreEqual("Alabama", ret4); }