METHOD_0 ( ) { java . lang . Integer IDENT_0 = 3 ; org . openmrs . IDENT_1 IDENT_2 = new org . openmrs . METHOD_1 ( 1 ) ; java . lang . String [ ] IDENT_3 = new java . lang . String [ ] { STRING_0 , STRING_1 } ; expect ( org . IDENT_4 . server . ws . IDENT_5 . IDENT_6 . METHOD_2 ( IDENT_0 ) ) . andReturn ( true ) ; expect ( org . IDENT_4 . server . ws . IDENT_5 . IDENT_7 . METHOD_3 ( IDENT_0 . toString ( ) ) ) . andReturn ( IDENT_2 ) ; expect ( org . IDENT_4 . server . ws . IDENT_5 . IDENT_6 . METHOD_4 ( IDENT_2 ) ) . andReturn ( IDENT_3 ) ; replay ( org . IDENT_4 . server . ws . IDENT_5 . IDENT_6 , org . IDENT_4 . server . ws . IDENT_5 . IDENT_8 , org . IDENT_4 . server . ws . IDENT_5 . IDENT_7 ) ; java . lang . String [ ] result = org . IDENT_4 . server . ws . IDENT_5 . IDENT_9 . METHOD_0 ( IDENT_0 ) ; verify ( org . IDENT_4 . server . ws . IDENT_5 . IDENT_6 , org . IDENT_4 . server . ws . IDENT_5 . IDENT_8 , org . IDENT_4 . server . ws . IDENT_5 . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . Integer ) { org . IDENT_4 . ws . server . IDENT_10 errors = new org . IDENT_4 . ws . server . METHOD_5 ( ) ; org . openmrs . METHOD_1 IDENT_2 = METHOD_6 ( IDENT_0 , errors , STRING_2 , true ) ; if ( ( errors . METHOD_7 ( ) . size ( ) ) > 0 ) { throw new org . IDENT_4 . ws . server . METHOD_8 ( STRING_3 , errors ) ; } return IDENT_6 . METHOD_4 ( IDENT_2 ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_3 , result )