METHOD_0 ( ) { org . jboss . IDENT_0 . client . jaxrs . IDENT_1 client = new org . jboss . IDENT_0 . client . jaxrs . METHOD_1 ( ) . build ( ) ; org . jboss . IDENT_0 . client . jaxrs . IDENT_2 target = client . target ( METHOD_2 ( STRING_0 ) ) ; com . IDENT_3 . rest . auth . IDENT_4 IDENT_5 = new com . IDENT_3 . rest . auth . METHOD_3 ( STRING_1 , STRING_2 ) ; javax . ws . rs . core . Response response = target . request ( ) . METHOD_4 ( javax . ws . rs . client . Entity . entity ( IDENT_5 , IDENT_6 . IDENT_7 ) ) ; java . lang . String IDENT_8 = response . METHOD_5 ( java . lang . String . class ) ; System . out . println ( IDENT_8 ) ; response . close ( ) ; java . util . List < com . IDENT_3 . rest . IDENT_9 . IDENT_10 > list = new java . util . ArrayList < com . IDENT_3 . rest . IDENT_9 . IDENT_10 > ( ) ; list . add ( new com . IDENT_3 . rest . IDENT_9 . METHOD_6 ( 1 , STRING_3 ) ) ; list . add ( new com . IDENT_3 . rest . IDENT_9 . METHOD_6 ( 2 , STRING_4 ) ) ; org . jboss . IDENT_0 . client . jaxrs . IDENT_1 IDENT_11 = new org . jboss . IDENT_0 . client . jaxrs . METHOD_1 ( ) . build ( ) ; org . jboss . IDENT_0 . client . jaxrs . IDENT_2 IDENT_12 = IDENT_11 . target ( METHOD_2 ( STRING_5 ) ) ; javax . ws . rs . core . Response IDENT_13 = IDENT_12 . request ( ) . header ( STRING_6 , IDENT_8 ) . METHOD_4 ( javax . ws . rs . client . Entity . entity ( list , IDENT_6 . IDENT_7 ) ) ; javax . ws . rs . core . IDENT_14 < java . util . List < com . IDENT_3 . rest . IDENT_9 . METHOD_6 > > IDENT_15 = new javax . ws . rs . core . IDENT_14 < java . util . List < com . IDENT_3 . rest . IDENT_9 . METHOD_6 > > ( ) { } ; java . util . List < com . IDENT_3 . rest . IDENT_9 . METHOD_6 > IDENT_16 = IDENT_13 . METHOD_5 ( IDENT_15 ) ; "<AssertPlaceHolder>" ; IDENT_13 . close ( ) ; } METHOD_2 ( java . lang . String ) { return java . lang . String . format ( STRING_7 , INT_0 , STRING_8 , target ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_16 . size ( ) )