METHOD_0 ( ) { com . streamsets . pipeline . lib . http . IDENT_0 IDENT_1 = new com . streamsets . pipeline . lib . http . METHOD_1 ( ) ; IDENT_1 = org . mockito . Mockito . METHOD_2 ( IDENT_1 ) ; java . util . List < byte [ ] > list = new java . util . ArrayList ( ) ; org . mockito . Mockito . doReturn ( list ) . when ( IDENT_1 ) . METHOD_3 ( org . mockito . Mockito . any ( java . io . InputStream . class ) , org . mockito . Mockito . METHOD_4 ( ) , org . mockito . Mockito . METHOD_4 ( ) ) ; java . io . InputStream is = org . mockito . Mockito . mock ( java . io . InputStream . class ) ; IDENT_1 . init ( null ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_1 , org . mockito . Mockito . times ( 1 ) ) . METHOD_3 ( org . mockito . Mockito . eq ( is ) , org . mockito . Mockito . eq ( 1000 ) , org . mockito . Mockito . eq ( INT_0 ) ) ; IDENT_1 . METHOD_5 ( ) ; } METHOD_6 ( java . io . InputStream , int , int ) { int IDENT_2 = IDENT_3 * 1000 ; int IDENT_4 = IDENT_5 * 1000 ; return METHOD_3 ( is , IDENT_2 , IDENT_4 ) ; }
org . junit . Assert . assertEquals ( list , IDENT_1 . METHOD_6 ( is , 1 , 2 ) )