METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 3 ; org . IDENT_1 . core . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_1 . core . IDENT_2 . METHOD_1 ( IDENT_0 ) ; java . lang . String IDENT_5 = STRING_0 ; java . lang . String tableName = STRING_0 1 ; java . lang . String IDENT_6 = STRING_1 ; long IDENT_7 = 10 ; org . IDENT_1 . core . IDENT_8 . IDENT_9 node = new org . IDENT_1 . core . IDENT_8 . METHOD_2 ( IDENT_4 , IDENT_5 , tableName , IDENT_6 , IDENT_7 ) ; int IDENT_10 = 100 ; java . lang . String IDENT_11 = IDENT_12 . IDENT_13 ; org . IDENT_1 . connection . IDENT_14 conn = org . IDENT_1 . connection . IDENT_15 . create ( org . IDENT_1 . core . IDENT_8 . IDENT_16 . IDENT_17 ) ; org . IDENT_1 . connection . IDENT_18 result = conn . execute ( java . lang . String . format ( STRING_2 , IDENT_10 , IDENT_11 ) ) ; org . IDENT_1 . core . IDENT_19 . IDENT_20 e = new org . IDENT_1 . core . IDENT_19 . METHOD_3 ( ) ; e . METHOD_4 ( org . IDENT_1 . core . IDENT_8 . IDENT_12 . class . METHOD_5 ( ) , result ) ; org . IDENT_1 . core . IDENT_21 . IDENT_22 IDENT_23 = node . METHOD_6 ( java . util . Arrays . < org . IDENT_1 . core . IDENT_19 . METHOD_3 > asList ( e ) ) ; java . lang . String sql = org . IDENT_1 . IDENT_24 . IDENT_25 . convert ( new org . IDENT_1 . IDENT_26 . METHOD_7 ( ) , IDENT_23 ) ; java . lang . String actual = sql . replaceAll ( STRING_3 , STRING_4 ) ; java . lang . String expected = STRING_5 + ( ( ( ( STRING_0 0 + STRING_6 ) + STRING_0 2 ) + STRING_7 ) + STRING_8 ) ; "<AssertPlaceHolder>" ; } convert ( org . IDENT_1 . IDENT_26 . IDENT_27 , org . IDENT_1 . core . IDENT_21 . IDENT_22 ) { if ( query == null ) { throw new org . IDENT_1 . exception . METHOD_8 ( STRING_9 ) ; } if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_28 ) { org . IDENT_1 . IDENT_24 . IDENT_29 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_9 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_28 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_32 ) { org . IDENT_1 . IDENT_24 . IDENT_33 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_11 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_32 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_34 ) { org . IDENT_1 . IDENT_24 . IDENT_35 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_12 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_34 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_36 ) { org . IDENT_1 . IDENT_24 . IDENT_37 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_13 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_36 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_38 ) { org . IDENT_1 . IDENT_24 . IDENT_39 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_14 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_38 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_40 ) { org . IDENT_1 . IDENT_24 . METHOD_14 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_14 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_40 ) ( query ) ) ) ; } else if ( query instanceof org . IDENT_1 . core . IDENT_21 . IDENT_41 ) { org . IDENT_1 . IDENT_24 . IDENT_42 IDENT_30 = new org . IDENT_1 . IDENT_24 . METHOD_15 ( IDENT_31 ) ; return IDENT_30 . METHOD_10 ( ( ( org . IDENT_1 . core . IDENT_21 . IDENT_41 ) ( query ) ) ) ; } else { throw new org . IDENT_1 . exception . METHOD_16 ( query ) ; } }
org . junit . Assert . assertEquals ( expected , actual )