METHOD_0 ( ) { METHOD_1 ( org . openmrs . module . IDENT_0 . rest . web . IDENT_1 . controller . IDENT_2 . IDENT_3 . IDENT_4 ) ; org . openmrs . module . IDENT_0 . rest . IDENT_5 IDENT_6 = new org . openmrs . module . IDENT_0 . rest . METHOD_2 ( ) ; IDENT_6 . add ( "name" , STRING_0 ) ; IDENT_6 . add ( STRING_1 , STRING_2 ) ; IDENT_6 . add ( STRING_3 , STRING_4 ) ; IDENT_6 . add ( STRING_5 , STRING_6 ) ; org . openmrs . module . IDENT_0 . rest . METHOD_2 result = METHOD_3 ( METHOD_4 ( METHOD_5 ( METHOD_6 ( ) , IDENT_6 ) ) ) ; "<AssertPlaceHolder>" ; } getProperty ( org . openmrs . module . IDENT_0 . rest . web . IDENT_1 . IDENT_7 . IDENT_8 . IDENT_9 , java . lang . String ) { try { if ( IDENT_10 . equals ( STRING_7 ) ) { return instance . METHOD_7 ( ) ; } else { java . lang . reflect . Method IDENT_11 = org . openmrs . module . IDENT_0 . rest . util . IDENT_12 . METHOD_8 ( this , IDENT_10 ) ; if ( IDENT_11 != null ) { return IDENT_11 . invoke ( this , instance ) ; } return org . apache . commons . IDENT_13 . IDENT_14 . getProperty ( instance . METHOD_9 ( ) , IDENT_10 ) ; } } catch ( java . lang . Exception ex ) { throw new org . openmrs . module . IDENT_0 . rest . web . response . METHOD_10 ( IDENT_10 , ex ) ; } }
org . junit . Assert . assertThat ( STRING_6 , org . hamcrest . Matchers . is ( org . apache . commons . IDENT_13 . IDENT_14 . getProperty ( result , STRING_5 ) ) )