METHOD_0 ( ) { java . io . InputStream IDENT_0 = getClass ( ) . getResourceAsStream ( STRING_0 ) ; java . lang . String address = ( STRING_1 + ( org . apache . cxf . IDENT_1 . jaxrs . IDENT_2 . IDENT_3 ) ) + STRING_2 ; org . apache . cxf . jaxrs . client . IDENT_4 client = org . apache . cxf . jaxrs . client . IDENT_4 . create ( address ) ; client . type ( STRING_3 ) . accept ( STRING_3 ) ; org . apache . cxf . jaxrs . client . IDENT_4 . METHOD_1 ( client ) . METHOD_2 ( ) . put ( STRING_4 , STRING_5 ) ; java . io . InputStream IDENT_5 = client . METHOD_3 ( IDENT_0 , java . io . InputStream . class ) ; byte [ ] IDENT_6 = org . apache . cxf . helpers . IDENT_7 . METHOD_4 ( getClass ( ) . getResourceAsStream ( STRING_0 ) ) ; byte [ ] IDENT_8 = org . apache . cxf . helpers . IDENT_7 . METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . io . InputStream ) { int i = in . METHOD_5 ( ) ; if ( i < ( org . apache . cxf . helpers . IDENT_7 . IDENT_9 ) ) { i = org . apache . cxf . helpers . IDENT_7 . IDENT_9 ; } try ( java . io . ByteArrayOutputStream IDENT_10 = new java . io . ByteArrayOutputStream ( i ) ) { org . apache . cxf . helpers . IDENT_7 . METHOD_6 ( in , IDENT_10 ) ; return IDENT_10 . toByteArray ( ) ; } finally { in . close ( ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_6 , IDENT_8 )