METHOD_0 ( ) { service . METHOD_1 ( service . METHOD_2 ( STRING_0 ) ) ; org . springframework . mock . web . IDENT_0 req = request ( IDENT_1 . IDENT_2 , METHOD_3 ( ) ) ; org . openmrs . module . IDENT_3 . rest . IDENT_4 result ; java . util . List < java . lang . Object > IDENT_5 ; java . lang . String IDENT_6 = STRING_1 ; java . lang . String name = STRING_2 ; java . lang . String IDENT_7 = STRING_3 ; req . METHOD_4 ( STRING_4 , IDENT_6 ) ; req . METHOD_4 ( "name" , name ) ; req . METHOD_4 ( STRING_5 , IDENT_7 ) ; result = METHOD_5 ( METHOD_6 ( req ) ) ; IDENT_5 = result . get ( STRING_6 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String ) { return new org . hamcrest . IDENT_8 < java . lang . Object , java . lang . String > ( org . hamcrest . CoreMatchers . equalTo ( IDENT_9 ) , STRING_7 , STRING_7 ) { @ org . openmrs . module . IDENT_3 . rest . web . IDENT_10 . controller . IDENT_11 . Override MOD_0 java . lang . String METHOD_8 ( java . lang . Object o ) { try { return ( ( java . lang . String ) ( org . apache . commons . IDENT_12 . IDENT_13 . getProperty ( o , STRING_7 ) ) ) ; } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( e ) ; } } } ; }
org . junit . Assert . assertThat ( IDENT_5 , org . hamcrest . Matchers . contains ( METHOD_7 ( STRING_0 ) ) )