public void InvokeActionService() { var invoker = new ActionInvocationService(null, isisApi, null); var listAll = ListAllContacts(); var raw = invoker.InvokeAction(listAll, "eapepe"); Assert.IsNotNull(raw.Result); Assert.IsTrue(raw.Result.ResultObjects.Count() > 0); }
public void TestIsisObject() { var invoker = new ActionInvocationService(null, isisApi, null); var listAll = ListAllContacts(); var result = invoker.InvokeAction(listAll, "eapepe"); result.Wait(); var list = result.Result; Assert.IsFalse(list.IsEmpty); Assert.IsTrue(list.Columns.Count > 0); }