METHOD_0 ( ) { final java . nio . IDENT_0 . IDENT_1 channel = new org . apache . hc . core5 . http . METHOD_1 ( new java . lang . String [ ] { STRING_0 } , java . nio . IDENT_2 . IDENT_3 . IDENT_4 ) ; final org . apache . hc . core5 . http . nio . IDENT_5 IDENT_6 = new org . apache . hc . core5 . http . impl . nio . METHOD_2 ( INT_0 , INT_1 , 0 , java . nio . IDENT_2 . IDENT_3 . IDENT_4 ) ; final org . apache . hc . core5 . http . impl . IDENT_7 metrics = new org . apache . hc . core5 . http . impl . METHOD_3 ( ) ; final org . apache . hc . core5 . http . impl . nio . IDENT_8 IDENT_9 = new org . apache . hc . core5 . http . impl . nio . METHOD_4 ( channel , IDENT_6 , metrics , 20 ) ; METHOD_5 ( ) ; final java . io . IDENT_10 IDENT_11 = new java . io . METHOD_6 ( this . IDENT_12 , STRING_1 ) ; try { final java . nio . IDENT_0 . IDENT_13 IDENT_14 = IDENT_11 . METHOD_7 ( ) ; final long IDENT_15 = IDENT_9 . METHOD_8 ( IDENT_14 , 0 , Integer . MAX_VALUE ) ; "<AssertPlaceHolder>" ; IDENT_9 . METHOD_8 ( IDENT_14 , 0 , Integer . MAX_VALUE ) ; } finally { IDENT_11 . close ( ) ; } } METHOD_8 ( java . nio . IDENT_0 . IDENT_13 , long , long ) { if ( IDENT_16 == null ) { return 0 ; } METHOD_9 ( ) ; METHOD_10 ( ) ; if ( this . buffer . METHOD_11 ( ) ) { return 0 ; } final long IDENT_17 = IDENT_16 . METHOD_12 ( position , count , this . channel ) ; if ( IDENT_17 > 0 ) { this . metrics . METHOD_13 ( IDENT_17 ) ; } return IDENT_17 ; }
org . junit . Assert . assertEquals ( 10 , IDENT_15 )