METHOD_0 ( ) { org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . IDENT_2 < io . vertx . ext . web . IDENT_3 > param = new org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . METHOD_1 ( ) ; io . vertx . ext . web . IDENT_3 context = org . mockito . Mockito . mock ( io . vertx . ext . web . IDENT_3 . class ) ; io . vertx . core . http . IDENT_4 request = org . mockito . Mockito . mock ( io . vertx . core . http . IDENT_4 . class ) ; io . vertx . core . net . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( io . vertx . core . net . IDENT_5 . class ) ; java . lang . String IDENT_7 = STRING_0 ; param . METHOD_2 ( context ) ; org . mockito . Mockito . when ( context . request ( ) ) . thenReturn ( request ) ; org . mockito . Mockito . when ( request . METHOD_3 ( ) ) . thenReturn ( METHOD_3 ) ; org . mockito . Mockito . when ( METHOD_3 . host ( ) ) . thenReturn ( IDENT_7 ) ; java . lang . String result = org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_8 . METHOD_0 ( param ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . METHOD_1 ) { io . vertx . core . http . IDENT_4 request = IDENT_9 . METHOD_4 ( ) . request ( ) ; if ( null == request ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_8 . IDENT_10 ; } io . vertx . core . net . IDENT_5 METHOD_3 = request . METHOD_3 ( ) ; if ( null == METHOD_3 ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_8 . IDENT_10 ; } java . lang . String IDENT_7 = METHOD_3 . host ( ) ; if ( org . springframework . util . StringUtils . isEmpty ( IDENT_7 ) ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_8 . IDENT_10 ; } return IDENT_7 ; }
org . junit . Assert . assertEquals ( IDENT_7 , result )