METHOD_0 ( ) { final int [ ] tests = new int [ ] { Integer . IDENT_0 , Integer . MAX_VALUE , - 1 , 0 , 1 , ( Integer . IDENT_0 ) + 1 , ( Integer . MAX_VALUE ) - 1 } ; for ( int x : tests ) { try ( final java . io . ByteArrayOutputStream IDENT_1 = new java . io . ByteArrayOutputStream ( ) ; final java . io . IDENT_2 IDENT_3 = new java . io . METHOD_1 ( IDENT_1 ) ) { IDENT_3 . METHOD_2 ( x ) ; IDENT_3 . close ( ) ; "<AssertPlaceHolder>" ; } } } METHOD_3 ( byte [ ] , int ) { final int size = ( Integer . IDENT_4 ) / ( IDENT_5 . IDENT_4 ) ; final int len = ( b . length ) - IDENT_6 ; if ( len >= size ) { return com . amazonaws . IDENT_7 . internal . IDENT_8 . METHOD_4 ( b , IDENT_6 ) ; } else { throw new com . amazonaws . IDENT_7 . exception . METHOD_5 ( STRING_0 ) ; } }
org . junit . Assert . assertEquals ( x , com . amazonaws . IDENT_7 . internal . IDENT_8 . METHOD_3 ( IDENT_1 . toByteArray ( ) , 0 ) )