METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 2 ; java . lang . String IDENT_2 = STRING_1 9 ; java . lang . String IDENT_3 = STRING_2 1 ; int IDENT_4 = 2 ; org . IDENT_5 . core . IDENT_6 . IDENT_7 method = new org . IDENT_5 . core . IDENT_6 . METHOD_1 ( IDENT_4 ) ; java . util . Map < java . lang . String , java . lang . String > options = new java . util . HashMap ( ) ; options . put ( STRING_1 4 , STRING_2 2 ) ; options . put ( STRING_1 1 , STRING_3 ) ; java . lang . String sql = STRING_4 ; org . IDENT_5 . connection . IDENT_8 conn = org . IDENT_5 . connection . IDENT_9 . create ( org . IDENT_5 . core . IDENT_6 . IDENT_10 . IDENT_11 ) ; org . IDENT_5 . connection . IDENT_12 IDENT_13 = conn . execute ( sql ) ; org . IDENT_5 . core . IDENT_6 . IDENT_14 node = org . IDENT_5 . core . IDENT_6 . IDENT_14 . create ( IDENT_0 , IDENT_1 , IDENT_2 , IDENT_3 , method , options ) ; java . util . List < org . IDENT_5 . core . IDENT_15 . IDENT_16 > tokens = new java . util . ArrayList ( ) ; org . IDENT_5 . core . IDENT_15 . IDENT_16 e = new org . IDENT_5 . core . IDENT_15 . METHOD_2 ( ) ; e . METHOD_3 ( org . IDENT_5 . core . IDENT_6 . IDENT_17 . class . METHOD_4 ( ) , IDENT_13 ) ; tokens . add ( e ) ; e = new org . IDENT_5 . core . IDENT_15 . METHOD_2 ( ) ; e . METHOD_3 ( STRING_2 3 , IDENT_0 ) ; e . METHOD_3 ( STRING_2 , IDENT_1 ) ; tokens . add ( e ) ; e = new org . IDENT_5 . core . IDENT_15 . METHOD_2 ( ) ; java . util . List < org . apache . commons . lang3 . tuple . IDENT_18 < java . lang . String , java . lang . String > > IDENT_19 = new java . util . ArrayList ( ) ; IDENT_19 . add ( org . apache . commons . lang3 . tuple . IDENT_18 . of ( STRING_1 8 , STRING_5 ) ) ; e . METHOD_3 ( IDENT_20 . IDENT_21 , IDENT_19 ) ; tokens . add ( e ) ; org . IDENT_5 . core . IDENT_22 . IDENT_23 query = node . METHOD_5 ( tokens ) ; sql = org . IDENT_5 . IDENT_24 . IDENT_25 . convert ( new org . IDENT_5 . IDENT_26 . METHOD_6 ( ) , query ) ; java . lang . String expected = STRING_1 3 + ( ( ( ( ( ( STRING_6 + STRING_7 ) + STRING_8 ) + STRING_2 0 ) + STRING_1 5 ) + STRING_9 ) + STRING_1 ) ; "<AssertPlaceHolder>" ; org . IDENT_5 . core . IDENT_6 . IDENT_10 . IDENT_11 . METHOD_7 ( ) . execute ( STRING_1 6 ) ; org . IDENT_5 . core . IDENT_6 . IDENT_10 . IDENT_11 . METHOD_7 ( ) . execute ( sql ) ; } convert ( org . IDENT_5 . IDENT_26 . IDENT_27 , org . IDENT_5 . core . IDENT_22 . IDENT_23 ) { if ( query == null ) { throw new org . IDENT_5 . exception . METHOD_8 ( STRING_10 ) ; } if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_28 ) { org . IDENT_5 . IDENT_24 . IDENT_29 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_9 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_28 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_32 ) { org . IDENT_5 . IDENT_24 . IDENT_33 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_11 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_32 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_34 ) { org . IDENT_5 . IDENT_24 . IDENT_35 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_12 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_34 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_36 ) { org . IDENT_5 . IDENT_24 . IDENT_37 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_13 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_36 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_38 ) { org . IDENT_5 . IDENT_24 . IDENT_39 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_14 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_38 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_40 ) { org . IDENT_5 . IDENT_24 . METHOD_14 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_14 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_40 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_5 . core . IDENT_22 . IDENT_41 ) { org . IDENT_5 . IDENT_24 . IDENT_42 IDENT_30 = new org . IDENT_5 . IDENT_24 . METHOD_15 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_5 . core . IDENT_22 . IDENT_41 ) ( query ) ) ) ; } else { throw new org . IDENT_5 . exception . METHOD_16 ( query ) ; } }
org . junit . Assert . assertEquals ( expected , sql )