METHOD_0 ( ) { org . openmrs . IDENT_0 IDENT_1 = new org . openmrs . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( METHOD_1 . IDENT_2 ) ; org . openmrs . IDENT_3 IDENT_4 = new org . openmrs . METHOD_3 ( STRING_0 , java . util . Locale . IDENT_5 ) ; IDENT_4 . METHOD_4 ( true ) ; IDENT_4 . METHOD_5 ( IDENT_6 . IDENT_7 ) ; org . openmrs . IDENT_8 IDENT_9 = new org . openmrs . METHOD_6 ( ) ; java . lang . String IDENT_10 = STRING_1 ; IDENT_9 . METHOD_7 ( IDENT_10 ) ; IDENT_9 . METHOD_8 ( IDENT_1 ) ; IDENT_9 . METHOD_9 ( IDENT_4 ) ; IDENT_9 . METHOD_9 ( new org . openmrs . METHOD_3 ( STRING_2 , org . openmrs . util . IDENT_11 . METHOD_10 ( STRING_3 ) ) ) ; METHOD_11 ( org . openmrs . module . IDENT_12 . IDENT_13 . class ) ; METHOD_11 ( org . openmrs . api . context . Context . class ) ; org . IDENT_14 . api . mockito . IDENT_15 . when ( org . openmrs . module . IDENT_12 . IDENT_13 . METHOD_12 ( anyString ( ) ) ) . thenReturn ( IDENT_9 ) ; org . IDENT_14 . api . mockito . IDENT_15 . when ( org . openmrs . api . context . Context . METHOD_13 ( STRING_4 , org . openmrs . module . IDENT_12 . IDENT_16 . IDENT_17 . class ) ) . thenReturn ( new org . openmrs . module . IDENT_12 . IDENT_16 . METHOD_14 ( ) ) ; params . put ( STRING_5 , STRING_6 ) ; params . put ( STRING_7 , STRING_3 ) ; params . put ( STRING_8 , STRING_9 ) ; org . openmrs . module . IDENT_12 . element . IDENT_18 element = new org . openmrs . module . IDENT_12 . element . METHOD_15 ( context , params ) ; java . lang . String html = element . METHOD_16 ( context ) ; "<AssertPlaceHolder>" ; } startsWith ( java . lang . String ) { return new org . openmrs . module . IDENT_12 . util . IDENT_19 < org . openmrs . IDENT_20 > ( ) { @ org . openmrs . module . IDENT_12 . Override public boolean test ( org . openmrs . IDENT_20 provider ) { java . lang . String IDENT_21 = provider . METHOD_17 ( ) ; java . lang . String IDENT_22 = param . toLowerCase ( ) ; if ( IDENT_21 . toLowerCase ( ) . startsWith ( IDENT_22 ) ) return true ; if ( ( provider . METHOD_18 ( ) ) != null ) { org . openmrs . IDENT_23 name = provider . METHOD_18 ( ) . METHOD_19 ( ) ; if ( name != null ) { if ( ( ( name . METHOD_20 ( ) . toLowerCase ( ) . startsWith ( IDENT_22 ) ) || ( name . METHOD_21 ( ) . toLowerCase ( ) . startsWith ( IDENT_22 ) ) ) || ( name . METHOD_22 ( ) . toLowerCase ( ) . startsWith ( IDENT_22 ) ) ) return true ; } } java . lang . String [ ] IDENT_24 = provider . getName ( ) . split ( " " ) ; for ( java . lang . String n : IDENT_24 ) { if ( n . toLowerCase ( ) . startsWith ( IDENT_22 ) ) return true ; } return false ; } } ; }
org . junit . Assert . assertTrue ( html . startsWith ( STRING_2 ) )