METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . Integer > factory = METHOD_1 ( org . apache . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; IDENT_1 . IDENT_3 IDENT_4 = METHOD_1 ( IDENT_1 . IDENT_3 . class ) ; IDENT_1 . IDENT_5 context = METHOD_1 ( IDENT_1 . IDENT_5 . class ) ; expect ( factory . METHOD_2 ( STRING_0 , 1 ) ) . andReturn ( IDENT_4 ) ; expect ( IDENT_4 . METHOD_3 ( context , 1 , STRING_0 ) ) . andReturn ( STRING_1 ) ; replay ( factory , IDENT_4 , context ) ; IDENT_1 . IDENT_3 IDENT_6 = new org . apache . IDENT_0 . IDENT_1 . IDENT_7 < java . lang . Integer > ( factory ) ; "<AssertPlaceHolder>" ; verify ( factory , IDENT_4 , context ) ; } METHOD_3 ( IDENT_1 . IDENT_5 , java . lang . Object , java . lang . Object ) { return factory . METHOD_2 ( ( ( java . lang . String ) ( index ) ) , ( ( T ) ( target ) ) ) . METHOD_3 ( context , target , index ) ; }
org . junit . Assert . assertEquals ( STRING_1 , IDENT_6 . METHOD_3 ( context , 1 , STRING_0 ) )