METHOD_0 ( ) { org . openmrs . IDENT_0 IDENT_1 = new org . openmrs . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( new org . openmrs . METHOD_3 ( STRING_0 , org . openmrs . api . context . Context . METHOD_4 ( ) ) ) ; IDENT_1 . METHOD_5 ( new org . openmrs . METHOD_3 ( STRING_1 , org . openmrs . api . context . Context . METHOD_4 ( ) ) ) ; IDENT_1 . METHOD_5 ( new org . openmrs . METHOD_3 ( STRING_2 , java . util . Locale . IDENT_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . util . Locale , java . lang . Boolean ) { if ( org . openmrs . METHOD_1 . log . METHOD_7 ( ) ) { org . openmrs . METHOD_1 . log . debug ( ( STRING_3 + IDENT_3 ) ) ; } org . openmrs . METHOD_3 IDENT_4 = METHOD_8 ( IDENT_3 ) ; if ( IDENT_4 != null ) { return IDENT_4 ; } org . openmrs . METHOD_3 IDENT_5 = null ; org . openmrs . METHOD_3 IDENT_6 = null ; if ( IDENT_3 != null ) { for ( org . openmrs . METHOD_3 IDENT_7 : METHOD_9 ( ) ) { if ( ( IDENT_7 . METHOD_4 ( ) . equals ( IDENT_3 ) ) && ( ( IDENT_5 == null ) || ( ( IDENT_7 . getName ( ) . length ( ) ) < ( IDENT_5 . getName ( ) . length ( ) ) ) ) ) { IDENT_5 = IDENT_7 ; } if ( ( IDENT_6 == null ) || ( ( IDENT_7 . getName ( ) . length ( ) ) < ( IDENT_6 . getName ( ) . length ( ) ) ) ) { IDENT_6 = IDENT_7 ; } } } if ( IDENT_8 ) { if ( IDENT_5 == null ) { org . openmrs . METHOD_1 . log . warn ( ( ( ( STRING_4 + ( IDENT_9 ) ) + STRING_5 ) + ( IDENT_3 . METHOD_10 ( ) ) ) ) ; } return IDENT_5 ; } return IDENT_6 ; }
org . junit . Assert . assertEquals ( STRING_2 , IDENT_1 . METHOD_6 ( Locale . IDENT_2 , null ) . getName ( ) )