METHOD_0 ( ) { java . util . Map < java . lang . String , java . io . IDENT_0 > IDENT_1 = new java . util . HashMap ( ) ; org . pentaho . platform . web . http . api . resources . IDENT_2 IDENT_3 = new org . pentaho . platform . web . http . api . resources . METHOD_1 ( ) ; java . io . File IDENT_4 = new java . io . File ( STRING_0 ) ; java . io . IDENT_5 output = new java . io . METHOD_2 ( new java . io . METHOD_3 ( IDENT_4 ) ) ; output . write ( STRING_1 ) ; IDENT_1 . put ( IDENT_6 . IDENT_7 , IDENT_3 ) ; IDENT_1 . put ( IDENT_6 . IDENT_8 , IDENT_4 ) ; IDENT_1 . put ( IDENT_6 . IDENT_9 , IDENT_4 ) ; IDENT_1 . put ( IDENT_6 . IDENT_10 , true ) ; org . pentaho . platform . api . IDENT_11 . IDENT_12 IDENT_13 = IDENT_14 . METHOD_4 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . util . Map ) { if ( params == null ) { org . pentaho . platform . plugin . action . IDENT_15 . logger . warn ( org . pentaho . platform . plugin . action . messages . IDENT_16 . getInstance ( ) . METHOD_5 ( ) ) ; return null ; } org . pentaho . platform . api . IDENT_11 . IDENT_12 IDENT_17 = null ; final java . lang . Object IDENT_18 = params . get ( IDENT_6 . IDENT_7 ) ; if ( ( IDENT_18 != null ) && ( org . pentaho . platform . api . IDENT_11 . IDENT_12 . class . METHOD_6 ( IDENT_18 . getClass ( ) ) ) ) { IDENT_17 = ( ( org . pentaho . platform . api . IDENT_11 . IDENT_12 ) ( IDENT_18 ) ) ; if ( IDENT_17 instanceof org . pentaho . platform . web . http . api . resources . METHOD_1 ) { params . put ( IDENT_6 . IDENT_8 , ( ( org . pentaho . platform . web . http . api . resources . METHOD_1 ) ( IDENT_17 ) ) . METHOD_7 ( ) ) ; params . put ( IDENT_6 . IDENT_9 , ( ( org . pentaho . platform . web . http . api . resources . METHOD_1 ) ( IDENT_17 ) ) . METHOD_8 ( ) ) ; params . put ( IDENT_6 . IDENT_10 , ( ( org . pentaho . platform . web . http . api . resources . METHOD_1 ) ( IDENT_17 ) ) . METHOD_9 ( ) ) ; } } else { final java . lang . String IDENT_4 = ( ( params . get ( IDENT_6 . IDENT_8 ) ) == null ) ? null : params . get ( IDENT_6 . IDENT_8 ) . toString ( ) ; final java . lang . String IDENT_19 = ( ( params . get ( IDENT_6 . IDENT_9 ) ) == null ) ? null : params . get ( IDENT_6 . IDENT_9 ) . toString ( ) ; boolean IDENT_20 = ! ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_4 ) ) ; boolean IDENT_21 = ! ( org . apache . commons . lang . StringUtils . isEmpty ( IDENT_19 ) ) ; if ( IDENT_20 && IDENT_21 ) { boolean METHOD_9 = ( ( params . get ( IDENT_6 . IDENT_10 ) ) == null ) || ( params . get ( IDENT_6 . IDENT_10 ) . toString ( ) . equalsIgnoreCase ( STRING_2 ) ) ; IDENT_17 = new org . pentaho . platform . web . http . api . resources . METHOD_1 ( IDENT_4 , IDENT_19 , METHOD_9 ) ; params . put ( IDENT_6 . IDENT_7 , IDENT_17 ) ; } else { if ( org . pentaho . platform . plugin . action . IDENT_15 . logger . METHOD_10 ( ) ) { org . pentaho . platform . plugin . action . IDENT_15 . logger . warn ( org . pentaho . platform . plugin . action . messages . IDENT_16 . getInstance ( ) . METHOD_11 ( java . lang . String . format ( STRING_3 , IDENT_6 . IDENT_8 , IDENT_6 . IDENT_9 ) , params ) ) ; } } } return IDENT_17 ; }
org . junit . Assert . assertEquals ( IDENT_13 , IDENT_3 )