CreateServiceEntry() public method

public CreateServiceEntry ( ) : DynamicService
return Dev2.DynamicServices.DynamicService
コード例 #1
0
 public void CreateServiceEntryExpectsDynamicService()
 {
     var terminateExecution = new TerminateExecution();
     var ds = terminateExecution.CreateServiceEntry();
     Assert.AreEqual(HandleType, terminateExecution.HandlesType());
     Assert.AreEqual(enActionType.InvokeManagementDynamicService, ds.Actions.First().ActionType);
     Assert.AreEqual("<DataList><Roles ColumnIODirection=\"Input\"/><ResourceID ColumnIODirection=\"Input\"/><Dev2System.ManagmentServicePayload ColumnIODirection=\"Both\"></Dev2System.ManagmentServicePayload></DataList>", ds.DataListSpecification.ToString());
 }