METHOD_0 ( ) { java . util . Collection < IDENT_0 . IDENT_1 . shared . client . request . IDENT_2 > response = new java . util . ArrayList ( ) ; response . add ( new IDENT_0 . IDENT_1 . shared . client . process . METHOD_1 ( ) { @ IDENT_0 . IDENT_1 . client . core . jms . impl . Override public java . lang . String METHOD_2 ( ) { return null ; } @ IDENT_0 . IDENT_1 . client . core . jms . impl . Override public java . lang . String METHOD_3 ( ) { return "name" ; } } ) ; org . easymock . EasyMock . expect ( IDENT_3 . METHOD_4 ( org . easymock . EasyMock . METHOD_5 ( IDENT_0 . IDENT_1 . shared . client . request . IDENT_4 . class ) , org . easymock . EasyMock . eq ( STRING_0 ) , org . easymock . EasyMock . eq ( INT_0 ) ) ) . andReturn ( response ) ; org . easymock . EasyMock . replay ( IDENT_3 ) ; java . util . Collection < IDENT_0 . IDENT_1 . shared . client . process . METHOD_1 > IDENT_5 = IDENT_6 . METHOD_6 ( ) ; org . easymock . EasyMock . verify ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } iterator ( ) { this . IDENT_7 . METHOD_7 ( ) . METHOD_8 ( ) ; try { return new IDENT_8 < T > ( new java . util . ArrayList < T > ( list . METHOD_9 ( ) ) . iterator ( ) ) ; } finally { this . IDENT_7 . METHOD_7 ( ) . METHOD_10 ( ) ; } }
org . junit . Assert . assertEquals ( "name" , ( ( IDENT_0 . IDENT_1 . shared . client . process . METHOD_1 ) ( IDENT_5 . iterator ( ) . next ( ) ) ) . METHOD_3 ( ) )