Dev2.Runtime.ESB.Management.Services.SecurityRead.HandlesType C# (CSharp) Method

HandlesType() public method

public HandlesType ( ) : string
return string
        public string HandlesType()
        {
            return "SecurityReadService";
        }
    }

Usage Example

コード例 #1
0
        public void SecurityReadCreateServiceEntryExpectedReturnsDynamicService()
        {
            var esb = new SecurityRead();
            var result = esb.CreateServiceEntry();
            Assert.AreEqual(esb.HandlesType(), result.Name);
            Assert.AreEqual("<DataList><Dev2System.ManagmentServicePayload ColumnIODirection=\"Both\"></Dev2System.ManagmentServicePayload></DataList>", result.DataListSpecification.ToString());
            Assert.AreEqual(1, result.Actions.Count);

            var serviceAction = result.Actions[0];
            Assert.AreEqual(esb.HandlesType(), serviceAction.Name);
            Assert.AreEqual(enActionType.InvokeManagementDynamicService, serviceAction.ActionType);
            Assert.AreEqual(esb.HandlesType(), serviceAction.SourceMethod);
        }
All Usage Examples Of Dev2.Runtime.ESB.Management.Services.SecurityRead::HandlesType