METHOD_0 ( ) { java . lang . String UUID = STRING_0 ; org . openmrs . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . openmrs . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . getMessage ( ( STRING_1 + UUID ) ) ) . thenReturn ( STRING_2 ) ; org . openmrs . api . context . IDENT_3 . getInstance ( ) . METHOD_1 ( IDENT_2 ) ; org . openmrs . IDENT_4 location = new org . openmrs . METHOD_2 ( ) ; location . setName ( STRING_3 ) ; location . METHOD_3 ( UUID ) ; org . openmrs . module . IDENT_5 . rest . web . resource . impl . IDENT_6 . IDENT_7 resource = new org . openmrs . module . IDENT_5 . rest . web . resource . impl . IDENT_6 . METHOD_4 ( ) ; java . lang . String IDENT_8 = resource . METHOD_5 ( location ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . openmrs . IDENT_9 ) { org . openmrs . IDENT_10 IDENT_11 = IDENT_12 . METHOD_6 ( ) . getName ( ) ; return IDENT_11 == null ? null : IDENT_11 . getName ( ) ; }
org . junit . Assert . assertThat ( IDENT_8 , org . hamcrest . core . Is . is ( STRING_2 ) )