METHOD_0 ( ) { java . lang . Exception IDENT_0 = mock ( java . io . IDENT_1 . class ) ; METHOD_1 ( IDENT_0 ) . when ( IDENT_2 . IDENT_3 ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; org . pentaho . platform . web . http . messages . IDENT_6 IDENT_7 = mock ( org . pentaho . platform . web . http . messages . IDENT_6 . class ) ; doReturn ( IDENT_7 ) . when ( IDENT_2 ) . METHOD_3 ( ) ; java . util . List < org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 > IDENT_12 = IDENT_2 . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_2 . IDENT_3 , times ( 1 ) ) . METHOD_2 ( org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; verify ( IDENT_2 , times ( 1 ) ) . METHOD_3 ( ) ; verify ( IDENT_7 , times ( 1 ) ) . METHOD_4 ( STRING_0 , org . pentaho . platform . web . http . api . resources . IDENT_4 . IDENT_5 ) ; } METHOD_2 ( java . lang . String ) { java . util . List < org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 > list = null ; java . lang . String path = null ; if ( ( IDENT_13 == null ) || ( IDENT_13 . equals ( IDENT_14 . IDENT_15 ) ) ) { path = org . pentaho . platform . web . http . api . resources . utils . IDENT_14 . IDENT_15 ; } else { if ( ! ( IDENT_13 . startsWith ( IDENT_14 . IDENT_15 ) ) ) { path = METHOD_5 ( IDENT_13 ) ; } } final org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_16 file = METHOD_6 ( ) . METHOD_7 ( path ) ; if ( file == null ) { throw new java . io . METHOD_8 ( ) ; } list = METHOD_6 ( ) . METHOD_9 ( file . getId ( ) ) ; if ( list != null ) { boolean IDENT_17 = false ; for ( org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 value : list ) { if ( value . getKey ( ) . equals ( IDENT_18 . IDENT_19 ) ) { IDENT_17 = true ; break ; } } if ( ! IDENT_17 ) { org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . IDENT_11 IDENT_20 = new org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . METHOD_10 ( org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_18 . IDENT_19 , STRING_1 ) ; list . add ( IDENT_20 ) ; } list . add ( new org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_10 . METHOD_10 ( org . pentaho . platform . api . IDENT_8 . IDENT_9 . IDENT_18 . IDENT_21 , java . lang . String . valueOf ( file . METHOD_11 ( ) ) ) ) ; } return list ; }
org . junit . Assert . assertNull ( IDENT_12 )