METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( ( ( STRING_0 + ( IDENT_2 . port ( ) ) ) + STRING_1 ) ) ; when ( IDENT_1 . METHOD_3 ( ) ) . thenReturn ( org . apache . commons . io . IDENT_3 . toString ( read ( STRING_2 ) , java . nio . IDENT_4 . IDENT_5 . METHOD_4 ( ) ) ) ; io . IDENT_6 . management . services . IDENT_7 . provider . http . IDENT_8 provider = new io . IDENT_6 . management . services . IDENT_7 . provider . http . METHOD_5 ( IDENT_0 ) ; provider . METHOD_6 ( mapper ) ; provider . METHOD_7 ( io . vertx . core . IDENT_9 . vertx ( ) ) ; java . util . concurrent . IDENT_10 < java . util . Collection < io . IDENT_6 . management . services . IDENT_7 . model . IDENT_11 > > future = provider . get ( ) ; java . util . Collection < io . IDENT_6 . management . services . IDENT_7 . model . IDENT_11 > IDENT_12 = future . join ( ) ; "<AssertPlaceHolder>" ; verify ( mapper , METHOD_8 ( ) ) . map ( anyString ( ) ) ; } get ( ) { java . util . concurrent . IDENT_10 < io . vertx . core . buffer . IDENT_13 > future = new io . IDENT_6 . management . services . IDENT_14 . provider . http . vertx . METHOD_9 ( vertx ) ; java . net . URI IDENT_15 = java . net . URI . create ( configuration . METHOD_2 ( ) ) ; boolean IDENT_16 = io . IDENT_6 . management . services . IDENT_14 . provider . http . METHOD_5 . IDENT_17 . equalsIgnoreCase ( IDENT_15 . METHOD_10 ( ) ) ; final io . vertx . core . http . IDENT_18 options = new io . vertx . core . http . METHOD_11 ( ) . METHOD_12 ( IDENT_16 ) . METHOD_13 ( true ) . METHOD_14 ( 1 ) . METHOD_15 ( false ) . METHOD_16 ( false ) . METHOD_17 ( INT_0 ) ; final io . vertx . core . http . IDENT_19 IDENT_20 = vertx . METHOD_18 ( options ) ; final int port = ( ( IDENT_15 . METHOD_19 ( ) ) != ( - 1 ) ) ? IDENT_15 . METHOD_19 ( ) : io . IDENT_6 . management . services . IDENT_14 . provider . http . METHOD_5 . IDENT_17 . equals ( IDENT_15 . METHOD_10 ( ) ) ? INT_1 : INT_2 ; try { io . vertx . core . http . IDENT_21 request = IDENT_20 . request ( IDENT_22 . IDENT_23 , port , IDENT_15 . METHOD_20 ( ) , IDENT_15 . toString ( ) ) ; request . handler ( ( response ) -> { if ( ( response . METHOD_21 ( ) ) == IDENT_24 . IDENT_25 ) { response . METHOD_22 ( ( buffer ) -> { future . METHOD_23 ( buffer ) ; IDENT_20 . close ( ) ; } ) ; } else { future . METHOD_23 ( null ) ; } } ) ; request . METHOD_24 ( ( event ) -> { try { future . METHOD_25 ( event ) ; IDENT_20 . close ( ) ; } catch ( IDENT_26 ) { } } ) ; request . end ( ) ; } catch ( java . lang . Exception ex ) { logger . error ( STRING_3 , ex ) ; future . METHOD_25 ( ex ) ; } return future . METHOD_26 ( ( buffer ) -> { if ( buffer == null ) { return null ; } return mapper . map ( buffer . toString ( ) ) ; } ) ; }
org . junit . Assert . assertNull ( IDENT_12 )