METHOD_0 ( ) { java . lang . String body ; if ( parameters . isEmpty ( ) ) { body = null ; } else { body = io . IDENT_0 . IDENT_1 . sql . common . IDENT_2 . METHOD_1 ( parameters ) ; } @ io . IDENT_0 . IDENT_1 . sql . METHOD_2 ( STRING_0 ) java . util . List < java . lang . String > IDENT_3 = template . METHOD_3 ( STRING_1 , body , java . util . List . class ) ; "<AssertPlaceHolder>" ; for ( java . util . Map < java . lang . String , java . lang . String [ ] > result : IDENT_4 ) { for ( Map . Entry < java . lang . String , java . lang . String [ ] > IDENT_5 : result . entrySet ( ) ) { METHOD_4 ( IDENT_3 , IDENT_5 . getKey ( ) , IDENT_5 . getValue ( ) ) ; } } } METHOD_1 ( java . util . List ) { java . lang . String json = null ; if ( ( list . size ( ) ) == 1 ) { final java . util . Map < java . lang . String , java . lang . Object > map = ( ( java . util . Map < java . lang . String , java . lang . Object > ) ( list . get ( 0 ) ) ) ; json = io . IDENT_0 . IDENT_1 . sql . common . IDENT_2 . METHOD_1 ( map ) ; } else if ( ( list . size ( ) ) > 1 ) { final java . lang . StringBuilder IDENT_6 = new java . lang . StringBuilder ( STRING_2 ) ; for ( int i = 0 ; i < ( list . size ( ) ) ; i ++ ) { final java . util . Map < java . lang . String , java . lang . Object > map = ( ( java . util . Map < java . lang . String , java . lang . Object > ) ( list . get ( i ) ) ) ; IDENT_6 . append ( io . IDENT_0 . IDENT_1 . sql . common . IDENT_2 . METHOD_1 ( map ) ) ; if ( i < ( ( list . size ( ) ) - 1 ) ) { IDENT_6 . append ( STRING_3 ) ; } } IDENT_6 . append ( STRING_4 ) ; json = IDENT_6 . toString ( ) ; } return json ; }
org . junit . Assert . assertEquals ( IDENT_4 . isEmpty ( ) , IDENT_3 . isEmpty ( ) )