Example #1
0
        public void rpt_SurveyRespondents_Section1_Property_Is_Present_In_Class_As_Public_Test()
        {
            // Arrange
            const string propertyNameSection1 = "Section1";
            var          rptSurveyRespondents = new rpt_SurveyRespondents();
            var          propertyInfo         = rptSurveyRespondents.GetType().GetProperty(propertyNameSection1);

            // Act
            var canRead = propertyInfo.CanRead;

            // Assert
            propertyInfo.ShouldNotBeNull();
            canRead.ShouldBeTrue();
        }
Example #2
0
        public void rpt_SurveyRespondents_Parameter_filterstr_Property_Is_Present_In_Class_As_Public_Test()
        {
            // Arrange
            const string propertyNameParameterFilterstr = "Parameter_filterstr";
            var          rptSurveyRespondents           = new rpt_SurveyRespondents();
            var          propertyInfo = rptSurveyRespondents.GetType().GetProperty(propertyNameParameterFilterstr);

            // Act
            var canRead = propertyInfo.CanRead;

            // Assert
            propertyInfo.ShouldNotBeNull();
            canRead.ShouldBeTrue();
        }