Ejemplo n.º 1
0
        public Survey CreateInvalidTestObject()
        {
            SurveyAboutDoctor surveyAboutDoctor = new SurveyAboutDoctor(
                behaviorOfDoctor: 1,
                doctorProfessionalism: 3,
                gettingAdviceByDoctor: 2,
                availabilityOfDoctor: 3,
                examination: new CreateExamination().CreateInvalidTestObjectForSurvey()
                );
            SurveyAboutMedicalStaff surveyAboutMedicalStaff = new SurveyAboutMedicalStaff(
                behaviorOfMedicalStaff: 2,
                medicalStaffProfessionalism: 5,
                gettingAdviceByMedicalStaff: 3,
                easeInObtainingFollowUpInformation: 3,
                examination: new CreateExamination().CreateInvalidTestObjectForSurvey()
                );
            SurveyAboutHospital surveyAboutHospital = new SurveyAboutHospital(
                nursing: 5,
                cleanliness: 1,
                overallRating: 3,
                satisfiedWithDrugAndInstrument: 4,
                examination: new CreateExamination().CreateInvalidTestObjectForSurvey()
                );

            return(new Survey(surveyAboutDoctor: surveyAboutDoctor, surveyAboutMedicalStaff: surveyAboutMedicalStaff, surveyAboutHospital: surveyAboutHospital));
        }
Ejemplo n.º 2
0
 public Survey(SurveyAboutDoctor surveyAboutDoctor,
               SurveyAboutMedicalStaff surveyAboutMedicalStaff,
               SurveyAboutHospital surveyAboutHospital)
 {
     SurveyAboutDoctor       = surveyAboutDoctor;
     SurveyAboutMedicalStaff = surveyAboutMedicalStaff;
     SurveyAboutHospital     = surveyAboutHospital;
 }