public void Configure_WhenOptionHasPublicReadWriteProperty_ShouldSubstituteValue() { var substitutedValue = "SubstitutedValue"; var conf = CreateConfigurator(CreateSubst(substitutedValue)); var originalValue = "OriginalValue"; var option = new SimpleOption() { Value1 = originalValue }; conf.Configure(option); option.Value1.Should().Be(substitutedValue); }
public StudentMsg() { this.pINField = ((decimal)(-1.0m)); this.genderIdField = -1; this.isHispanicField = SimpleOption.NotSpecified; this.leadTypeIdField = -1; this.admissionsOfficerIdField = -1; this.newAdmissionsOfficerEffectiveDateField = new System.DateTime(599266080000000000); this.stateIdField = -1; this.countryIdField = -1; this.countyIdField = -1; this.areaOfInterestIdField = -1; this.agencyIdField = -1; this.leadDateField = new System.DateTime(599266080000000000); this.birthDateField = new System.DateTime(599266080000000000); this.citizenshipIdField = -1; this.collegeIdField = -1; this.currentEmployerIdField = -1; this.hasDisabilityField = SimpleOption.NotSpecified; this.isVeteranField = SimpleOption.NotSpecified; this.driversLicenseStateIdField = -1; this.employmentStatusIdField = -1; this.startDateField = new System.DateTime(599266080000000000); this.previousEducationIdField = -1; this.highSchoolIdField = -1; this.highSchoolDateEnrolledField = new System.DateTime(599266080000000000); this.highSchoolGradDateField = new System.DateTime(599266080000000000); this.highSchoolLastDateAttendedField = new System.DateTime(599266080000000000); this.maritalStatusIdField = -1; this.nationalityIdField = -1; this.titleIdField = -1; this.suffixIdField = -1; this.shiftIdField = -1; this.oldAddressTypeIdField = -1; }