METHOD_0 ( ) { org . IDENT_0 . core . IDENT_1 . IDENT_2 base = new org . IDENT_0 . core . IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 ) ; org . IDENT_0 . core . IDENT_1 . IDENT_3 IDENT_4 = org . IDENT_0 . core . IDENT_1 . IDENT_3 . create ( java . util . Arrays . < org . IDENT_0 . core . IDENT_1 . IDENT_5 > asList ( new org . IDENT_0 . core . IDENT_1 . METHOD_2 ( ) ) , base ) ; org . IDENT_0 . core . IDENT_1 . IDENT_6 create = new org . IDENT_0 . core . IDENT_1 . METHOD_3 ( STRING_0 , STRING_3 , IDENT_4 ) ; create . METHOD_4 ( STRING_4 ) ; create . METHOD_4 ( STRING_5 ) ; java . lang . String expected = STRING_6 ; org . IDENT_0 . IDENT_7 . IDENT_8 IDENT_9 = new org . IDENT_0 . IDENT_7 . METHOD_5 ( new org . IDENT_0 . IDENT_10 . METHOD_6 ( ) ) ; java . lang . String actual = IDENT_9 . METHOD_7 ( create ) ; "<AssertPlaceHolder>" ; org . IDENT_0 . IDENT_7 . IDENT_11 . spark . sql ( STRING_7 ) ; org . IDENT_0 . IDENT_7 . IDENT_11 . spark . sql ( actual ) ; } METHOD_7 ( org . IDENT_0 . core . IDENT_1 . IDENT_12 ) { java . lang . StringBuilder sql = new java . lang . StringBuilder ( ) ; java . lang . String IDENT_13 = query . METHOD_8 ( ) ; java . lang . String tableName = query . METHOD_9 ( ) ; java . util . List < java . lang . Object > values = query . METHOD_10 ( ) ; sql . append ( STRING_8 ) ; sql . append ( METHOD_11 ( IDENT_13 ) ) ; sql . append ( STRING_9 ) ; sql . append ( METHOD_11 ( tableName ) ) ; sql . append ( STRING_10 ) ; boolean IDENT_14 = true ; for ( java . lang . Object v : values ) { if ( IDENT_14 == false ) { sql . append ( STRING_11 ) ; } if ( v instanceof org . IDENT_0 . commons . IDENT_15 ) { if ( ( IDENT_16 ) instanceof org . IDENT_0 . IDENT_10 . IDENT_17 ) { sql . append ( ( ( STRING_12 + ( v . toString ( ) ) ) + STRING_13 ) ) ; } else { sql . append ( ( ( STRING_13 + ( v . toString ( ) ) ) + STRING_13 ) ) ; } } else if ( v instanceof java . lang . String ) { sql . append ( ( ( STRING_13 + v ) + STRING_13 ) ) ; } else { sql . append ( v . toString ( ) ) ; } IDENT_14 = false ; } sql . append ( STRING_14 ) ; return sql . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , actual )