METHOD_0 ( ) { org . apache . IDENT_0 . rest . mock . IDENT_1 IDENT_2 = mock ( org . apache . IDENT_0 . rest . mock . IDENT_1 . class ) ; org . apache . IDENT_0 . job . manager . IDENT_3 IDENT_4 = mock ( org . apache . IDENT_0 . job . manager . IDENT_3 . class ) ; METHOD_1 ( new org . apache . IDENT_0 . job . METHOD_2 ( STRING_0 ) ) . when ( IDENT_4 ) . METHOD_3 ( STRING_1 , STRING_2 ) ; org . apache . IDENT_0 . rest . service . impl . IDENT_5 IDENT_6 = new org . apache . IDENT_0 . rest . service . impl . METHOD_4 ( IDENT_7 , configuration , IDENT_8 , IDENT_4 , IDENT_9 ) ; java . util . Map < java . lang . String , java . lang . Object > configuration = IDENT_6 . METHOD_5 ( STRING_1 , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String , java . lang . String ) { java . util . Map < java . lang . String , java . lang . Object > configuration = new java . util . HashMap ( ) ; try { org . apache . IDENT_0 . job . IDENT_10 < org . apache . hadoop . fs . Path > IDENT_11 = IDENT_4 . METHOD_3 ( IDENT_12 , IDENT_13 ) ; if ( IDENT_11 != null ) { java . util . Map < java . lang . String , java . lang . Object > IDENT_14 = IDENT_11 . METHOD_5 ( ) ; configuration . put ( IDENT_15 . IDENT_16 . getKey ( ) , IDENT_15 . IDENT_16 . get ( IDENT_14 , java . lang . String . class ) ) ; configuration . put ( IDENT_15 . IDENT_17 . getKey ( ) , IDENT_15 . IDENT_17 . get ( IDENT_14 , java . lang . String . class ) ) ; configuration . put ( IDENT_15 . IDENT_18 . getKey ( ) , IDENT_15 . IDENT_18 . get ( IDENT_14 , org . apache . IDENT_0 . rest . service . impl . Long . class ) ) ; configuration . put ( IDENT_15 . IDENT_19 . getKey ( ) , IDENT_15 . IDENT_19 . get ( IDENT_14 , org . apache . IDENT_0 . rest . service . impl . Long . class ) ) ; configuration . put ( IDENT_15 . IDENT_20 . getKey ( ) , IDENT_15 . IDENT_20 . get ( IDENT_14 , org . apache . IDENT_0 . rest . service . impl . Integer . class ) ) ; boolean IDENT_21 = ( IDENT_15 . IDENT_22 . get ( IDENT_14 , org . apache . IDENT_0 . IDENT_23 . filter . IDENT_24 . class ) ) instanceof org . apache . IDENT_0 . IDENT_23 . filter . IDENT_25 . IDENT_26 . IDENT_27 ; if ( IDENT_21 ) { configuration . put ( IDENT_28 . IDENT_29 . getKey ( ) , IDENT_28 . IDENT_29 . get ( IDENT_14 , java . lang . String . class ) ) ; configuration . put ( IDENT_28 . IDENT_30 . getKey ( ) , IDENT_28 . IDENT_30 . get ( IDENT_14 , java . lang . String . class ) ) ; configuration . put ( IDENT_28 . IDENT_31 . getKey ( ) , IDENT_28 . IDENT_31 . get ( IDENT_14 , org . apache . IDENT_0 . rest . service . impl . Integer . class ) ) ; configuration . put ( IDENT_28 . IDENT_32 . getKey ( ) , IDENT_28 . IDENT_32 . get ( IDENT_14 , org . apache . IDENT_0 . rest . service . impl . Integer . class ) ) ; configuration . put ( IDENT_28 . IDENT_33 . getKey ( ) , IDENT_28 . IDENT_33 . get ( IDENT_14 , java . lang . String . class ) ) ; configuration . put ( IDENT_28 . IDENT_34 . getKey ( ) , IDENT_28 . IDENT_34 . get ( IDENT_14 , java . lang . String . class ) ) ; configuration . put ( IDENT_28 . IDENT_35 . getKey ( ) , IDENT_28 . IDENT_35 . get ( IDENT_14 , org . apache . IDENT_0 . rest . service . impl . Boolean . class ) ) ; } else { configuration . put ( IDENT_36 . IDENT_37 . getKey ( ) , IDENT_36 . IDENT_37 . get ( IDENT_14 , java . lang . String . class ) ) ; } } } catch ( org . apache . IDENT_0 . job . METHOD_2 e ) { org . apache . IDENT_0 . rest . service . impl . METHOD_4 . LOG . warn ( java . lang . String . format ( STRING_3 , IDENT_12 , IDENT_13 ) ) ; } catch ( org . apache . IDENT_0 . job . IDENT_38 e ) { throw new org . apache . IDENT_0 . rest . METHOD_6 ( e ) ; } return configuration ; }
org . junit . Assert . assertEquals ( new java . util . HashMap ( ) , configuration )