public void testStudentSchoolEnrollmentGradeLevelMapping() { Adk.SifVersion = SifVersion.SIF15r1; IDictionary values = new Hashtable(); values.Add( "GRADE", "00" ); StringMapAdaptor sma = new StringMapAdaptor( values ); StudentSchoolEnrollment sse = new StudentSchoolEnrollment(); Mappings m = fCfg.Mappings.GetMappings( "Default" ).Select( null, null, null ); m.MapOutbound( sma, sse, SifVersion.SIF15r1 ); sse.SetHomeroom( "RoomInfo", Adk.MakeGuid() ); Console.WriteLine( sse.ToXml() ); // This specific case tests what should happen when the grade level is // using an undefined value. // The valueset entries don't have a value for "00", so "00" should be // returned as-is }