METHOD_0 ( ) { java . util . IDENT_0 < net . IDENT_1 . core . internal . IDENT_2 > IDENT_3 = new java . util . IDENT_0 < net . IDENT_1 . core . internal . IDENT_2 > ( ) ; net . IDENT_1 . core . internal . IDENT_2 IDENT_4 = org . easymock . EasyMock . METHOD_1 ( net . IDENT_1 . core . internal . IDENT_2 . class ) ; org . jboss . netty . channel . IDENT_5 IDENT_6 = METHOD_1 ( org . jboss . netty . channel . IDENT_5 . class ) ; expect ( IDENT_4 . METHOD_2 ( ) ) . andReturn ( IDENT_6 ) ; expect ( IDENT_4 . METHOD_3 ( IDENT_7 . IDENT_8 ) ) . andReturn ( false ) ; expect ( IDENT_6 . close ( ) ) . andReturn ( null ) ; IDENT_3 . add ( IDENT_4 ) ; replay ( IDENT_4 , IDENT_6 ) ; IDENT_9 . METHOD_4 ( IDENT_3 , IDENT_10 . IDENT_11 , INT_0 ) ; verify ( IDENT_4 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . util . Collection , net . IDENT_1 . core . IDENT_12 . IDENT_10 , long ) { java . util . Iterator < net . IDENT_1 . core . internal . IDENT_2 > IDENT_13 = IDENT_3 . iterator ( ) ; while ( IDENT_13 . hasNext ( ) ) { net . IDENT_1 . core . internal . IDENT_2 IDENT_14 = IDENT_13 . next ( ) ; try { java . lang . Boolean IDENT_15 = ( ( java . lang . Boolean ) ( IDENT_14 . METHOD_3 ( IDENT_7 . IDENT_8 ) ) ) ; if ( ( IDENT_15 == null ) || IDENT_15 ) { IDENT_14 . METHOD_5 ( IDENT_16 , IDENT_17 ) ; } else { if ( IDENT_16 == ( net . IDENT_1 . core . IDENT_12 . IDENT_10 . IDENT_11 ) ) { net . IDENT_1 . core . internal . IDENT_18 . log . debug ( ( STRING_0 + STRING_1 ) ) ; IDENT_14 . METHOD_2 ( ) . close ( ) ; IDENT_13 . remove ( ) ; } } } catch ( java . io . IOException e ) { net . IDENT_1 . core . internal . IDENT_18 . log . warn ( ( STRING_2 + STRING_3 ) , IDENT_14 , e ) ; IDENT_14 . METHOD_2 ( ) . close ( ) ; IDENT_13 . remove ( ) ; } } }
org . junit . Assert . assertTrue ( IDENT_3 . isEmpty ( ) )