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