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 ( ) ; com . IDENT_3 . rest . IDENT_9 . IDENT_10 IDENT_11 = new com . IDENT_3 . rest . IDENT_9 . METHOD_6 ( 2 , STRING_3 ) ; org . jboss . IDENT_0 . client . jaxrs . IDENT_1 IDENT_12 = new org . jboss . IDENT_0 . client . jaxrs . METHOD_1 ( ) . build ( ) ; org . jboss . IDENT_0 . client . jaxrs . IDENT_2 IDENT_13 = IDENT_12 . target ( METHOD_2 ( STRING_4 ) ) ; javax . ws . rs . core . Response IDENT_14 = IDENT_13 . request ( ) . header ( STRING_5 , IDENT_8 ) . METHOD_4 ( javax . ws . rs . client . Entity . entity ( java . util . Collections . singletonList ( IDENT_11 ) , IDENT_6 . IDENT_7 ) ) ; javax . ws . rs . core . IDENT_15 < java . util . List < com . IDENT_3 . rest . IDENT_9 . METHOD_6 > > IDENT_16 = new javax . ws . rs . core . IDENT_15 < java . util . List < com . IDENT_3 . rest . IDENT_9 . METHOD_6 > > ( ) { } ; java . util . List < com . IDENT_3 . rest . IDENT_9 . METHOD_6 > list = IDENT_14 . METHOD_5 ( IDENT_16 ) ; "<AssertPlaceHolder>" ; IDENT_14 . close ( ) ; } METHOD_2 ( java . lang . String ) { return java . lang . String . format ( STRING_6 , INT_0 , STRING_7 , target ) ; }
org . junit . Assert . assertEquals ( 1 , list . size ( ) )