METHOD_0 ( ) { for ( int value : new int [ ] { 0 , 1 , INT_0 , INT_1 , INT_2 , INT_3 , Integer . MAX_VALUE } ) { java . nio . ByteBuffer buffer = IDENT_0 . encode ( value ) ; for ( int i = 1 ; i < 5 ; i ++ ) { int size = ( buffer . METHOD_1 ( ) ) + i ; org . apache . IDENT_1 . codec . IDENT_2 IDENT_3 = org . apache . IDENT_1 . codec . IDENT_2 . METHOD_2 ( java . nio . ByteBuffer . METHOD_3 ( size ) ) ; int start = IDENT_3 . position ( ) ; IDENT_3 . put ( buffer . METHOD_4 ( ) ) ; IDENT_3 . position ( start ) ; IDENT_3 . METHOD_5 ( ( start + size ) ) ; try { IDENT_4 . decode ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } catch ( org . apache . IDENT_1 . codec . IDENT_5 e ) { org . junit . Assert . fail ( STRING_0 ) ; } } } } METHOD_1 ( ) { return ( METHOD_5 ( ) ) - ( position ( ) ) ; }
org . junit . Assert . assertEquals ( i , IDENT_3 . METHOD_1 ( ) )