HandlesType() 공개 메소드

public HandlesType ( ) : string
리턴 string
// ReSharper disable InconsistentNaming
        public void RolbackTo_Name_GetName()

        {
            //------------Setup for test--------------------------
            var rolbackTo = new RollbackTo();
            
            //------------Execute Test---------------------------

            //------------Assert Results-------------------------
            Assert.AreEqual("RollbackTo",rolbackTo.HandlesType());
        }
        public void RolbackTo_CreateServiceEntry_ExpectCorrectDL()
        {
            //------------Setup for test--------------------------
            var rolbackTo = new RollbackTo();

            //------------Execute Test---------------------------
            var res = rolbackTo.CreateServiceEntry();
            //------------Assert Results-------------------------
            Assert.AreEqual("<DataList><Roles ColumnIODirection=\"Input\"/><ResourceXml ColumnIODirection=\"Input\"/><WorkspaceID ColumnIODirection=\"Input\"/><Dev2System.ManagmentServicePayload ColumnIODirection=\"Both\"></Dev2System.ManagmentServicePayload></DataList>", res.DataListSpecification.ToString());
            Assert.AreEqual(enActionType.InvokeManagementDynamicService, res.Actions.First().ActionType);
            Assert.AreEqual(res.Actions.First().SourceMethod,rolbackTo.HandlesType());
        }