METHOD_0 ( ) { org . openmrs . api . context . Context . METHOD_1 ( new java . util . Locale ( STRING_0 , STRING_1 ) ) ; "<AssertPlaceHolder>" ; java . lang . String IDENT_0 = IDENT_1 . METHOD_2 ( org . openmrs . api . context . Context . METHOD_3 ( ) ) . getName ( ) ; org . openmrs . IDENT_2 IDENT_3 = IDENT_4 ; IDENT_3 . METHOD_2 ( org . openmrs . api . context . Context . METHOD_3 ( ) ) . setName ( IDENT_0 ) ; org . springframework . validation . IDENT_5 errors = new org . springframework . validation . METHOD_4 ( IDENT_3 , STRING_2 ) ; IDENT_6 . expect ( org . openmrs . api . IDENT_7 . class ) ; IDENT_6 . METHOD_5 ( ( ( ( ( STRING_3 + IDENT_0 ) + STRING_4 ) + ( org . openmrs . api . context . Context . METHOD_3 ( ) ) ) + STRING_3 ) ) ; validator . validate ( IDENT_3 , errors ) ; } METHOD_2 ( java . util . Locale ) { if ( ( IDENT_8 != null ) && ( ! ( METHOD_6 ( IDENT_8 ) . isEmpty ( ) ) ) ) { for ( org . openmrs . IDENT_9 IDENT_10 : METHOD_6 ( IDENT_8 ) ) { if ( org . springframework . util . IDENT_11 . METHOD_7 ( IDENT_10 . METHOD_8 ( ) , true ) ) { return IDENT_10 ; } } org . openmrs . IDENT_9 IDENT_12 = null ; for ( org . openmrs . IDENT_9 IDENT_10 : METHOD_9 ( IDENT_8 ) ) { if ( org . springframework . util . IDENT_11 . METHOD_7 ( IDENT_10 . METHOD_8 ( ) , true ) ) { java . util . Locale IDENT_13 = IDENT_10 . METHOD_3 ( ) ; if ( IDENT_8 . METHOD_10 ( ) . equals ( IDENT_13 . METHOD_10 ( ) ) ) { return IDENT_10 ; } IDENT_12 = IDENT_10 ; } } return IDENT_12 ; } return null ; }
org . junit . Assert . assertEquals ( true , IDENT_1 . METHOD_2 ( org . openmrs . api . context . Context . METHOD_3 ( ) ) . METHOD_8 ( ) )