METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final io . vertx . core . http . IDENT_1 request = mock ( io . vertx . core . http . IDENT_1 . class , Mockito . IDENT_2 ) ; final io . vertx . core . http . IDENT_3 response = mock ( io . vertx . core . http . IDENT_3 . class ) ; when ( response . METHOD_1 ( ) ) . thenReturn ( false ) ; final io . vertx . ext . web . IDENT_4 ctx = mock ( io . vertx . ext . web . IDENT_4 . class ) ; when ( ctx . request ( ) ) . thenReturn ( request ) ; when ( ctx . response ( ) ) . thenReturn ( response ) ; when ( ctx . METHOD_2 ( ) ) . thenReturn ( true ) ; when ( ctx . METHOD_3 ( ) ) . thenReturn ( new org . eclipse . IDENT_5 . client . METHOD_4 ( java . net . IDENT_6 . IDENT_7 , IDENT_0 ) ) ; final org . eclipse . IDENT_5 . service . http . IDENT_8 handler = new org . eclipse . IDENT_5 . service . http . METHOD_5 ( ) ; handler . METHOD_6 ( ctx ) ; final org . mockito . IDENT_9 < io . vertx . core . buffer . IDENT_10 > IDENT_11 = org . mockito . IDENT_9 . METHOD_7 ( io . vertx . core . buffer . IDENT_10 . class ) ; verify ( response ) . METHOD_8 ( IDENT_6 . IDENT_7 ) ; verify ( response ) . write ( IDENT_11 . METHOD_9 ( ) ) ; "<AssertPlaceHolder>" ; verify ( response ) . end ( ) ; } getValue ( ) { return value ; }
org . junit . Assert . assertThat ( IDENT_11 . getValue ( ) . toString ( ) , org . hamcrest . CoreMatchers . is ( IDENT_0 ) )