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