METHOD_0 ( ) { final io . netty . buffer . IDENT_0 data = io . netty . handler . codec . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; final int IDENT_3 = 10 ; final java . util . concurrent . atomic . IDENT_4 IDENT_5 = new java . util . concurrent . atomic . METHOD_2 ( ( ( data . METHOD_3 ( ) ) + IDENT_3 ) ) ; METHOD_4 ( new org . mockito . IDENT_6 . IDENT_7 < java . lang . Integer > ( ) { @ io . netty . handler . codec . IDENT_1 . Override public io . netty . handler . codec . IDENT_1 . Integer METHOD_5 ( org . mockito . IDENT_8 . IDENT_9 in ) throws java . lang . Throwable { return IDENT_5 . get ( ) ; } } ) . when ( IDENT_10 ) . METHOD_6 ( eq ( stream ) ) ; METHOD_4 ( new org . mockito . IDENT_6 . IDENT_7 < java . lang . IDENT_11 > ( ) { @ io . netty . handler . codec . IDENT_1 . Override public io . netty . handler . codec . IDENT_1 . IDENT_11 METHOD_5 ( org . mockito . IDENT_8 . IDENT_9 in ) throws java . lang . Throwable { int IDENT_12 = ( ( java . lang . Integer ) ( in . METHOD_7 ( ) [ 1 ] ) ) ; int IDENT_13 = IDENT_5 . METHOD_8 ( ( - IDENT_12 ) ) ; if ( IDENT_13 < 0 ) { throw new java . lang . RuntimeException ( STRING_0 ) ; } return null ; } } ) . when ( IDENT_10 ) . METHOD_9 ( eq ( stream ) , METHOD_10 ( ) ) ; METHOD_4 ( new org . mockito . IDENT_6 . IDENT_7 < java . lang . Integer > ( ) { @ io . netty . handler . codec . IDENT_1 . Override public io . netty . handler . codec . IDENT_1 . Integer METHOD_5 ( org . mockito . IDENT_8 . IDENT_9 in ) throws java . lang . Throwable { IDENT_10 . METHOD_9 ( stream , 4 ) ; throw new java . lang . RuntimeException ( STRING_1 ) ; } } ) . when ( listener ) . METHOD_11 ( eq ( ctx ) , eq ( io . netty . handler . codec . IDENT_1 . IDENT_2 . IDENT_14 ) , any ( io . netty . buffer . IDENT_0 . class ) , eq ( 10 ) , eq ( true ) ) ; try { decode ( ) . METHOD_11 ( ctx , io . netty . handler . codec . IDENT_1 . IDENT_2 . IDENT_14 , data , IDENT_3 , true ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( java . lang . RuntimeException IDENT_15 ) { verify ( IDENT_10 ) . METHOD_12 ( eq ( stream ) , eq ( data ) , eq ( IDENT_3 ) , eq ( true ) ) ; verify ( IDENT_16 ) . METHOD_13 ( eq ( stream ) , eq ( future ) ) ; verify ( listener ) . METHOD_11 ( eq ( ctx ) , eq ( io . netty . handler . codec . IDENT_1 . IDENT_2 . IDENT_14 ) , eq ( data ) , eq ( IDENT_3 ) , eq ( true ) ) ; "<AssertPlaceHolder>" ; } finally { data . METHOD_14 ( ) ; } } METHOD_6 ( io . netty . handler . codec . IDENT_1 . IDENT_17 ) { return METHOD_15 ( ) . METHOD_6 ( stream ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_10 . METHOD_6 ( stream ) )