METHOD_0 ( ) { target = org . mockito . Mockito . METHOD_1 ( new org . IDENT_0 . IDENT_1 . core . manager . IDENT_2 . METHOD_2 ( org . IDENT_0 . IDENT_1 . core . manager . IDENT_2 . IDENT_3 . IDENT_4 , IDENT_5 , IDENT_6 ) ) ; java . util . HashMap < java . lang . String , java . lang . String > IDENT_7 = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; IDENT_7 . put ( STRING_0 , STRING_1 ) ; IDENT_7 . put ( STRING_2 , STRING_3 ) ; IDENT_7 . put ( STRING_4 , STRING_5 ) ; org . IDENT_8 . reflect . IDENT_9 . METHOD_3 ( target , STRING_6 , IDENT_7 ) ; java . lang . String IDENT_10 = STRING_7 ; org . IDENT_0 . IDENT_1 . core . manager . IDENT_2 . METHOD_2 . IDENT_11 task = org . mockito . Mockito . METHOD_1 ( target . new org . IDENT_0 . IDENT_1 . core . manager . IDENT_2 . METHOD_4 ( IDENT_10 ) ) ; org . mockito . Mockito . METHOD_5 ( new java . lang . Exception ( ) ) . when ( target ) . request ( anyString ( ) , eq ( IDENT_12 . Method . IDENT_13 ) , anyString ( ) , eq ( "" ) , eq ( null ) ) ; task . run ( ) ; java . util . HashMap < java . lang . String , java . lang . String > IDENT_14 = org . IDENT_8 . reflect . IDENT_9 . METHOD_6 ( target , STRING_6 ) ; "<AssertPlaceHolder>" ; } run ( ) { this . server = new org . eclipse . IDENT_15 . server . METHOD_7 ( new java . net . METHOD_8 ( host , port ) ) ; MOD_0 ( this . server ) { java . util . HashMap < java . lang . String , java . lang . String > param = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; param . put ( IDENT_16 . IDENT_17 , STRING_8 ) ; param . put ( IDENT_16 . IDENT_18 , STRING_9 ) ; param . put ( IDENT_16 . IDENT_19 , STRING_10 ) ; org . eclipse . IDENT_15 . servlet . IDENT_20 IDENT_21 = new org . eclipse . IDENT_15 . servlet . METHOD_9 ( org . eclipse . IDENT_15 . IDENT_22 . IDENT_16 . class ) ; IDENT_21 . METHOD_10 ( param ) ; org . eclipse . IDENT_15 . servlet . IDENT_23 IDENT_24 = new org . eclipse . IDENT_15 . servlet . METHOD_11 ( org . eclipse . IDENT_15 . servlet . METHOD_11 . IDENT_25 ) ; IDENT_24 . METHOD_12 ( IDENT_26 . IDENT_27 , this ) ; IDENT_24 . METHOD_12 ( STRING_11 , root ) ; IDENT_24 . METHOD_13 ( ) . METHOD_14 ( this . IDENT_28 ) ; IDENT_24 . METHOD_15 ( org . eclipse . IDENT_15 . IDENT_22 . IDENT_29 . class , STRING_12 , java . util . IDENT_30 . METHOD_16 ( javax . servlet . IDENT_31 . class ) ) ; java . util . IDENT_30 < javax . servlet . IDENT_31 > IDENT_32 = java . util . IDENT_30 . of ( IDENT_31 . IDENT_33 ) ; IDENT_24 . METHOD_15 ( IDENT_21 , STRING_12 , IDENT_32 ) ; this . server . METHOD_17 ( IDENT_24 ) ; this . METHOD_18 ( IDENT_24 , org . IDENT_0 . IDENT_1 . IDENT_34 . rest . servlet . IDENT_35 . class ) ; this . METHOD_18 ( IDENT_24 , org . IDENT_0 . IDENT_1 . IDENT_34 . rest . servlet . IDENT_36 . class ) ; this . METHOD_18 ( IDENT_24 , org . IDENT_0 . IDENT_1 . IDENT_34 . rest . servlet . IDENT_37 . class ) ; try { this . server . start ( ) ; } catch ( java . lang . Exception e ) { this . log . error ( STRING_13 , e ) ; return ; } } try { this . server . join ( ) ; } catch ( java . lang . IDENT_38 e ) { this . log . error ( STRING_14 , e ) ; return ; } }
org . junit . Assert . assertThat ( IDENT_14 , org . hamcrest . CoreMatchers . is ( IDENT_7 ) )