METHOD_0 ( ) { final io . vertx . core . http . IDENT_0 server = METHOD_1 ( false ) ; final org . eclipse . IDENT_1 . adapter . http . IDENT_2 < org . eclipse . IDENT_1 . adapter . http . IDENT_3 > adapter = METHOD_2 ( server , null ) ; final org . eclipse . IDENT_1 . client . IDENT_4 IDENT_5 = METHOD_3 ( io . vertx . core . IDENT_6 . METHOD_4 ( ) ) ; when ( IDENT_7 . get ( eq ( STRING_0 ) , ( ( io . IDENT_8 . IDENT_9 ) ( any ( ) ) ) ) ) . thenReturn ( io . vertx . core . IDENT_6 . METHOD_4 ( org . eclipse . IDENT_1 . util . IDENT_10 . from ( STRING_0 , true ) . setProperty ( IDENT_11 . IDENT_12 , 20 ) ) ) ; final io . vertx . core . buffer . IDENT_13 payload = io . vertx . core . buffer . IDENT_13 . buffer ( STRING_1 ) ; final io . vertx . core . http . IDENT_14 response = mock ( io . vertx . core . http . IDENT_14 . class ) ; final io . vertx . core . http . IDENT_15 request = mock ( io . vertx . core . http . IDENT_15 . class ) ; when ( request . METHOD_5 ( eq ( Constants . IDENT_16 ) ) ) . thenReturn ( STRING_2 ) ; final io . vertx . ext . web . IDENT_17 ctx = METHOD_6 ( payload , STRING_3 , request , response ) ; adapter . METHOD_7 ( ctx , STRING_0 , STRING_4 ) ; verify ( response ) . METHOD_8 ( INT_0 ) ; verify ( response ) . end ( ) ; final org . mockito . IDENT_18 < org . apache . IDENT_19 . IDENT_20 . message . Message > IDENT_21 = org . mockito . IDENT_18 . METHOD_9 ( org . apache . IDENT_19 . IDENT_20 . message . Message . class ) ; verify ( IDENT_5 ) . METHOD_10 ( IDENT_21 . METHOD_11 ( ) , ( ( io . IDENT_8 . IDENT_9 ) ( any ( ) ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( org . apache . IDENT_19 . IDENT_20 . message . Message ) { return org . eclipse . IDENT_1 . util . IDENT_22 . METHOD_13 ( msg . METHOD_14 ( ) , org . eclipse . IDENT_1 . util . IDENT_22 . IDENT_23 , org . eclipse . IDENT_1 . util . Integer . class ) ; }
org . junit . Assert . assertThat ( org . eclipse . IDENT_1 . util . IDENT_22 . METHOD_12 ( IDENT_21 . getValue ( ) ) , org . hamcrest . CoreMatchers . is ( 20 ) )