public void InvokeCoreNodeStatusWithNonGenericHelperAndEntitySetNameAndTypeSucceeds() { // Arrange var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri); svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; // Act var result = svc.InvokeEntityActionWithSingleResult("Nodes", CoreTest.nodeId, "Status", typeof(Job), null); // Assert Assert.IsNotNull(result); }
public void InvokeCoreNodeStatusWithNonGenericHelperAndEntityAndObjectSucceeds() { // Arrange var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri); svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; // Act var result = svc.InvokeEntityActionWithSingleResult(new Node() { Id = CoreTest.nodeId }, "Status", new Job(), null); // Assert Assert.IsNotNull(result); }
public void InvokeCoreNodeStatusWithNonGenericHelperAndEntityAndTypeSucceeds() { // Arrange var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri); svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; // Act var result = svc.InvokeEntityActionWithSingleResult(new Node() { Id = CoreTest.nodeId }, "Status", typeof(Job), null); // Assert Assert.IsNotNull(result); }
public void InvokeCoreNodeStatusWithNonGenericHelperAndEntitySetNameAndObjectSucceeds() { // Arrange var svc = new biz.dfch.CS.Appclusive.Api.Core.Core(_uri); svc.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; // Act var result = svc.InvokeEntityActionWithSingleResult("Nodes", CoreTest.nodeId, "Status", new Job(), null); // Assert Assert.IsNotNull(result); }