METHOD_0 ( ) { java . net . URI uri = javax . ws . rs . core . IDENT_0 . METHOD_1 ( STRING_0 ) . port ( INT_0 ) . build ( ) ; com . sun . net . IDENT_1 . IDENT_2 server = com . sun . net . IDENT_1 . IDENT_2 . create ( new java . net . METHOD_2 ( uri . METHOD_3 ( ) ) , 0 ) ; com . sun . net . IDENT_1 . IDENT_3 handler = javax . ws . rs . ext . IDENT_4 . getInstance ( ) . METHOD_4 ( new org . IDENT_5 . IDENT_6 . jaxrs . testing . METHOD_5 ( ) , com . sun . net . IDENT_1 . IDENT_3 . class ) ; server . METHOD_6 ( uri . getPath ( ) , handler ) ; server . start ( ) ; javax . ws . rs . client . IDENT_7 client = javax . ws . rs . client . IDENT_8 . METHOD_7 ( ) ; javax . ws . rs . core . Response response = client . target ( STRING_1 ) . request ( ) . get ( ) ; "<AssertPlaceHolder>" ; System . out . println ( STRING_2 ) ; System . out . println ( response . METHOD_8 ( java . lang . String . class ) ) ; server . METHOD_9 ( 0 ) ; }
org . junit . Assert . assertEquals ( 200 , response . getStatus ( ) )