METHOD_0 ( ) { java . lang . StringBuffer sb = new java . lang . StringBuffer ( ) ; doReturn ( sb ) . when ( IDENT_0 . IDENT_1 ) . METHOD_1 ( ) ; javax . ws . rs . core . Response IDENT_2 = mock ( javax . ws . rs . core . Response . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_0 ) . METHOD_2 ( sb . toString ( ) ) ; javax . ws . rs . core . Response IDENT_3 = IDENT_0 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 . IDENT_1 , times ( 1 ) ) . METHOD_1 ( ) ; verify ( IDENT_0 , times ( 1 ) ) . METHOD_2 ( sb . toString ( ) ) ; } METHOD_1 ( ) { java . util . List < java . lang . IDENT_4 > IDENT_5 = METHOD_3 ( ) . METHOD_4 ( ) ; java . lang . StringBuffer buffer = new java . lang . StringBuffer ( ) ; for ( int i = 0 ; i < ( IDENT_5 . size ( ) ) ; i ++ ) { if ( ( ( IDENT_5 . get ( i ) ) >= 7 ) && ( ( IDENT_5 . get ( i ) ) <= INT_0 ) ) { buffer . append ( METHOD_5 ( ( "" + ( IDENT_5 . get ( i ) ) ) ) ) ; } else { buffer . append ( IDENT_5 . get ( i ) ) ; } if ( ( i + 1 ) < ( IDENT_5 . size ( ) ) ) { buffer . append ( STRING_0 ) ; } } return buffer ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_3 )