METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; com . IDENT_1 . IDENT_2 . impl . rest . IDENT_3 . request . IDENT_4 IDENT_5 = new com . IDENT_1 . IDENT_2 . impl . rest . IDENT_3 . request . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( int ) { int IDENT_6 = METHOD_3 ( ( IDENT_7 == 0 ? 1 : IDENT_7 ) ) ; if ( IDENT_6 == ( - 1 ) ) { return "" ; } java . lang . String token = tokens . get ( IDENT_6 ) ; if ( METHOD_4 ( token ) ) { return IDENT_6 < ( ( tokens . size ( ) ) - 1 ) ? tokens . get ( ( IDENT_6 + 1 ) ) : "" ; } else if ( token . equals ( STRING_1 ) ) { return IDENT_6 > 1 ? tokens . get ( ( IDENT_6 - 1 ) ) : "" ; } if ( ( IDENT_6 > 1 ) && ( tokens . get ( ( IDENT_6 - 1 ) ) . equals ( STRING_1 ) ) ) { return tokens . get ( ( IDENT_6 - 2 ) ) ; } return token ; }
org . junit . Assert . assertThat ( IDENT_5 . METHOD_2 ( IDENT_0 . indexOf ( STRING_1 ) ) , org . hamcrest . core . Is . is ( "" ) )