METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 helper = new org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( null ) ; java . lang . String IDENT_4 = STRING_0 + STRING_1 ; java . lang . String IDENT_5 = STRING_2 + ( ( ( STRING_3 + STRING_4 ) + STRING_5 ) + STRING_6 ) ; java . lang . String IDENT_6 = STRING_7 ; java . lang . String IDENT_7 = ( IDENT_4 + IDENT_5 ) + IDENT_6 ; java . lang . String expected = ( IDENT_4 + ( METHOD_1 . IDENT_8 ) ) + IDENT_6 ; java . lang . String result = helper . METHOD_2 ( IDENT_7 , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . Object , java . lang . Object ) { java . lang . String sql = null ; if ( expr instanceof java . lang . String ) { sql = ( ( java . lang . String ) ( expr ) ) ; if ( org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . log . METHOD_3 ( IDENT_9 . IDENT_10 ) ) { org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . log . METHOD_4 ( ( STRING_8 + sql ) ) ; } } else if ( obj != null ) { sql = toString ( obj ) ; if ( sql != null ) { if ( sql . startsWith ( STRING_9 ) ) { sql = sql . METHOD_5 ( STRING_10 , "" ) ; } sql = sql . replaceAll ( STRING_11 , org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . IDENT_8 ) ; } if ( org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . log . METHOD_3 ( IDENT_9 . IDENT_10 ) ) { org . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 . log . METHOD_4 ( ( STRING_12 + sql ) ) ; } } return sql ; }
org . junit . Assert . assertEquals ( expected , result )