CreateServiceEntry() public method

Creates the service entry.
public CreateServiceEntry ( ) : DynamicService
return Dev2.DynamicServices.DynamicService
Esempio n. 1
0
        public void GetVersions_CreateServiceEntry_ExpectProperlyFormedDynamicService()
        {
            //------------Setup for test--------------------------
            var getVersion = new GetVersion();


            //------------Execute Test---------------------------
            var a = getVersion.CreateServiceEntry();
            //------------Assert Results-------------------------
            var b = a.DataListSpecification.ToString();
            Assert.AreEqual(@"<DataList><ResourceID ColumnIODirection=""Input""/><Dev2System.ManagmentServicePayload ColumnIODirection=""Both""></Dev2System.ManagmentServicePayload></DataList>", b);
        }