public void SurveyRequestBOProCount()
        {
            SurveyRequestBO objSurveyRequestBO = new SurveyRequestBO();
            int             numberOfPublicPropertiesofSurveyRequestBO = objSurveyRequestBO.GetType().GetProperties().Count();

            Assert.AreEqual(numberOfPublicPropertiesofSurveyRequestBO, SurveyRequestBOPropertyCount, "SurveyRequestBO properties has been changed");
        }
예제 #2
0
        public SurveyRequestBO CreateSurveyRequestBOObjectWithNoData()
        {
            SurveyRequestBO pRequestMessage = new SurveyRequestBO();

            pRequestMessage.DepartmentName   = _DepartmentName;
            pRequestMessage.IntroductionText = _IntroductionText;
            pRequestMessage.IsSingleResponse = _IsSingleResponse;
            pRequestMessage.OrganizationName = _OrganizationName;
            pRequestMessage.SurveyName       = _SurveyName;
            pRequestMessage.SurveyNumber     = _SurveyNumber;
            pRequestMessage.TemplateXML      = _TemplateXML;
            pRequestMessage.SurveyType       = _SurveyType;

            return(pRequestMessage);
        }
예제 #3
0
        public SurveyRequestBO CreateSurveyRequestBOObject()

        {
            SurveyRequestBO pRequestMessage = new SurveyRequestBO();

            pRequestMessage.ClosingDate      = ClosingDate;
            pRequestMessage.DepartmentName   = DepartmentName;
            pRequestMessage.IntroductionText = IntroductionText;
            pRequestMessage.IsSingleResponse = IsSingleResponse;
            pRequestMessage.OrganizationName = OrganizationName;
            pRequestMessage.SurveyName       = SurveyName;
            pRequestMessage.SurveyNumber     = SurveyNumber;
            pRequestMessage.TemplateXML      = TemplateXML;
            pRequestMessage.SurveyType       = SurveyType;
            return(pRequestMessage);
        }