METHOD_0 ( ) { org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . IDENT_2 < io . vertx . ext . web . IDENT_3 > IDENT_4 = new org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . METHOD_1 ( ) ; io . vertx . ext . web . IDENT_3 IDENT_5 = org . mockito . Mockito . mock ( io . vertx . ext . web . IDENT_3 . class ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_6 = new java . util . HashMap ( ) ; org . apache . IDENT_0 . core . IDENT_7 IDENT_8 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . core . IDENT_7 . class ) ; java . lang . String IDENT_9 = STRING_0 ; IDENT_4 . METHOD_2 ( IDENT_5 ) ; org . mockito . Mockito . when ( IDENT_5 . data ( ) ) . thenReturn ( IDENT_6 ) ; IDENT_6 . put ( IDENT_10 . IDENT_11 , IDENT_8 ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_3 ( org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_12 . IDENT_13 ) ) . thenReturn ( IDENT_9 ) ; java . lang . String result = org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_12 . IDENT_14 . METHOD_4 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . METHOD_1 ) { java . util . Set < io . vertx . ext . web . IDENT_15 > IDENT_16 = IDENT_4 . METHOD_5 ( ) . METHOD_6 ( ) ; if ( null == IDENT_16 ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_17 . IDENT_18 ; } java . lang . String result = null ; for ( io . vertx . ext . web . IDENT_15 IDENT_19 : IDENT_16 ) { if ( IDENT_20 . equals ( IDENT_19 . getName ( ) ) ) { result = IDENT_19 . getValue ( ) ; } } if ( null == result ) { return org . apache . IDENT_0 . transport . rest . vertx . IDENT_1 . element . impl . IDENT_17 . IDENT_18 ; } return result ; }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . is ( IDENT_9 ) )