METHOD_0 ( ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; doReturn ( IDENT_4 ) . when ( IDENT_5 . IDENT_6 ) . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_7 . IDENT_8 ) ; org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_9 = IDENT_5 . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_7 . IDENT_8 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 . IDENT_6 , times ( 1 ) ) . METHOD_1 ( org . pentaho . platform . web . http . api . resources . IDENT_7 . IDENT_8 ) ; } METHOD_1 ( java . lang . String ) { org . pentaho . platform . api . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 file = METHOD_2 ( ) . METHOD_3 ( METHOD_4 ( IDENT_10 ) ) ; if ( file == null ) { throw new java . io . METHOD_5 ( ) ; } java . util . Map < java . lang . String , java . io . IDENT_11 > IDENT_12 = METHOD_6 ( ) . METHOD_7 ( file . getId ( ) ) ; java . lang . String IDENT_13 = ( ( java . lang . String ) ( IDENT_12 . get ( IDENT_14 . IDENT_15 ) ) ) ; if ( ( IDENT_13 != null ) && ( ( IDENT_13 . length ( ) ) > 0 ) ) { return METHOD_2 ( ) . METHOD_8 ( IDENT_13 ) ; } return null ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_9 )