METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . Long IDENT_1 = new java . lang . Long ( INT_0 ) ; javax . jms . IDENT_2 IDENT_3 = org . easymock . EasyMock . METHOD_1 ( javax . jms . IDENT_2 . class ) ; javax . jms . IDENT_4 IDENT_5 = org . easymock . EasyMock . METHOD_1 ( javax . jms . IDENT_4 . class ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_2 ( ) ) . andReturn ( IDENT_1 ) . METHOD_3 ( ) ; javax . jms . IDENT_6 queue = org . easymock . EasyMock . METHOD_1 ( javax . jms . IDENT_6 . class ) ; javax . jms . IDENT_7 IDENT_8 = org . easymock . EasyMock . METHOD_1 ( javax . jms . IDENT_7 . class ) ; org . easymock . EasyMock . expect ( IDENT_8 . METHOD_4 ( ) ) . andReturn ( IDENT_3 ) ; IDENT_8 . close ( ) ; org . easymock . EasyMock . METHOD_5 ( ) ; org . easymock . EasyMock . expect ( IDENT_8 . METHOD_4 ( ) ) . andReturn ( IDENT_5 ) ; IDENT_8 . close ( ) ; org . easymock . EasyMock . METHOD_5 ( ) ; javax . jms . IDENT_9 session = org . easymock . EasyMock . METHOD_6 ( javax . jms . IDENT_9 . class ) ; org . easymock . EasyMock . expect ( session . METHOD_7 ( IDENT_0 ) ) . andReturn ( queue ) . METHOD_3 ( ) ; org . easymock . EasyMock . expect ( session . METHOD_8 ( queue ) ) . andReturn ( IDENT_8 ) . METHOD_3 ( ) ; org . easymock . EasyMock . replay ( IDENT_8 , IDENT_5 , session , IDENT_3 ) ; org . IDENT_10 . message . IDENT_11 . impl . IDENT_12 IDENT_13 = new org . IDENT_10 . message . IDENT_11 . impl . METHOD_9 ( session ) ; IDENT_13 . METHOD_10 ( true ) ; java . io . IDENT_14 IDENT_15 = IDENT_13 . METHOD_11 ( IDENT_0 , IDENT_16 . IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( java . lang . String , org . IDENT_10 . message . IDENT_11 . api . IDENT_17 . IDENT_16 ) { while ( true ) { javax . jms . Message message = METHOD_12 ( IDENT_0 , type ) ; if ( ( message != null ) && ( message instanceof javax . jms . IDENT_4 ) ) { javax . jms . IDENT_4 IDENT_5 = ( ( javax . jms . IDENT_4 ) ( message ) ) ; return IDENT_5 . METHOD_2 ( ) ; } org . IDENT_10 . message . IDENT_11 . impl . IDENT_18 . logger . debug ( STRING_1 , message ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_15 )