METHOD_0 ( ) { org . eclipse . IDENT_0 . server . IDENT_1 server = com . baeldung . IDENT_0 . IDENT_2 . METHOD_1 ( ) ; server . start ( ) ; int IDENT_3 = METHOD_2 ( ) ; "<AssertPlaceHolder>" ; server . METHOD_3 ( ) ; } METHOD_2 ( ) { org . apache . http . IDENT_4 target = new org . apache . http . METHOD_4 ( STRING_0 , IDENT_2 . IDENT_5 ) ; org . apache . http . IDENT_6 request = new org . apache . http . client . methods . METHOD_5 ( IDENT_2 . IDENT_7 ) ; org . apache . http . client . IDENT_8 client = org . apache . http . impl . client . IDENT_9 . create ( ) . build ( ) ; org . apache . http . IDENT_10 response = client . execute ( target , request ) ; return response . METHOD_6 ( ) . getStatusCode ( ) ; }
org . junit . Assert . assertEquals ( 200 , IDENT_3 )