예제 #1
0
        public void CommandContactReturnsCorrectTable()
        {
            RPCall call = new RPCall();

            call.procedureArgs = new string[] { "Max" };

            CommandContact com = new CommandContact();
            RPResult       ret = com.Execute(call);

            Assert.AreEqual(ret.dt.TableName, "Contacts");
            Assert.IsTrue(TestHelper.CompareDataTables(ret.dt, _th.GetTestPersonDataTable()));
        }