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 ) ; java . lang . String uri = STRING_0 ; param . METHOD_2 ( context ) ; org . mockito . Mockito . when ( context . request ( ) ) . thenReturn ( request ) ; org . mockito . Mockito . when ( request . uri ( ) ) . thenReturn ( uri ) ; java . lang . String result = org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_5 . IDENT_6 . METHOD_3 ( param ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . METHOD_1 ) { java . util . Set < io . vertx . ext . web . IDENT_7 > IDENT_8 = IDENT_9 . METHOD_4 ( ) . METHOD_5 ( ) ; if ( null == IDENT_8 ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_10 . IDENT_11 ; } java . lang . String result = null ; for ( io . vertx . ext . web . IDENT_7 IDENT_12 : IDENT_8 ) { if ( IDENT_13 . equals ( IDENT_12 . getName ( ) ) ) { result = IDENT_12 . getValue ( ) ; } } if ( null == result ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_10 . IDENT_11 ; } return result ; }
org . junit . Assert . assertEquals ( uri , result )