METHOD_0 ( ) { when ( IDENT_0 . get ( 0 ) ) . thenReturn ( IDENT_1 [ 0 ] ) ; info . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = new info . IDENT_2 . IDENT_3 . IDENT_5 . IDENT_8 . METHOD_1 ( ) . resolve ( IDENT_0 , info . IDENT_2 . IDENT_3 . IDENT_9 . IDENT_9 . IDENT_10 . resolve ( info . IDENT_2 . IDENT_3 . IDENT_9 . IDENT_11 . IDENT_12 . METHOD_2 ( STRING_0 ) , STRING_1 . replace ( STRING_2 , STRING_3 ) ) ) ; "<AssertPlaceHolder>" ; METHOD_3 ( IDENT_0 ) ; IDENT_7 . METHOD_4 ( 1 ) ; verify ( IDENT_0 ) . METHOD_4 ( 1 ) ; METHOD_3 ( IDENT_0 ) ; IDENT_7 . getName ( ) ; verify ( IDENT_0 ) . getName ( ) ; METHOD_3 ( IDENT_0 ) ; IDENT_7 . METHOD_5 ( null ) ; verify ( IDENT_0 ) . METHOD_5 ( null ) ; METHOD_3 ( IDENT_0 ) ; IDENT_7 . METHOD_6 ( ) ; verify ( IDENT_0 ) . METHOD_6 ( ) ; METHOD_3 ( IDENT_0 ) ; IDENT_7 . METHOD_7 ( ) ; verify ( IDENT_0 ) . METHOD_7 ( ) ; } get ( int ) { if ( ( index >= 0 ) && ( index < ( IDENT_1 . length ) ) ) { return IDENT_1 [ index ] ; } return original . get ( index ) ; }
org . junit . Assert . assertSame ( IDENT_1 [ 0 ] , IDENT_7 . get ( 0 ) )