METHOD_0 ( ) { com . IDENT_0 . http . client . IDENT_1 . Builder IDENT_2 = new com . IDENT_0 . http . client . IDENT_1 . Builder ( ) ; final com . IDENT_0 . http . client . IDENT_3 IDENT_4 = new com . IDENT_0 . http . client . METHOD_1 ( new com . IDENT_0 . http . client . IDENT_5 . netty . METHOD_2 ( IDENT_2 . build ( ) ) , IDENT_2 . build ( ) ) ; byte [ ] IDENT_6 = io . cdap . cdap . IDENT_7 . IDENT_8 . IDENT_9 . METHOD_3 ( ) ; java . net . IDENT_10 address = io . cdap . cdap . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_11 . METHOD_4 ( ) ; final com . IDENT_0 . http . client . IDENT_12 request = new com . IDENT_0 . http . client . METHOD_5 ( STRING_0 ) . METHOD_6 ( java . lang . String . format ( STRING_1 , address . METHOD_7 ( ) , address . METHOD_8 ( ) , STRING_2 ) ) . METHOD_9 ( IDENT_6 . length ) . METHOD_10 ( new io . cdap . cdap . IDENT_7 . IDENT_8 . IDENT_9 . METHOD_11 ( IDENT_6 ) ) . build ( ) ; final java . io . ByteArrayOutputStream IDENT_13 = new java . io . ByteArrayOutputStream ( ) ; java . util . concurrent . IDENT_14 < java . lang . IDENT_15 > future = IDENT_4 . METHOD_12 ( request , new com . IDENT_0 . http . client . IDENT_16 < java . lang . IDENT_15 > ( ) { @ io . cdap . cdap . IDENT_7 . IDENT_8 . Override public io . cdap . cdap . IDENT_7 . IDENT_8 . IDENT_15 METHOD_13 ( com . IDENT_0 . http . client . Response response ) { return null ; } @ io . cdap . cdap . IDENT_7 . IDENT_8 . Override public io . cdap . cdap . IDENT_7 . IDENT_8 . IDENT_17 METHOD_14 ( com . IDENT_0 . http . client . IDENT_18 content ) throws io . cdap . cdap . IDENT_7 . IDENT_8 . Exception { content . METHOD_15 ( IDENT_13 ) ; return super . METHOD_14 ( content ) ; } } ) ; future . get ( ) ; "<AssertPlaceHolder>" ; } toByteArray ( ) { return java . util . Arrays . METHOD_16 ( hash , hash . length ) ; }
org . junit . Assert . assertArrayEquals ( IDENT_6 , IDENT_13 . toByteArray ( ) )