METHOD_0 ( ) { org . IDENT_0 . api . mockito . IDENT_1 . METHOD_1 ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class ) ; java . lang . reflect . Method IDENT_5 = org . IDENT_6 . IDENT_7 . METHOD_2 ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , org . IDENT_6 . IDENT_7 . METHOD_3 ( STRING_0 ) ) . iterator ( ) . next ( ) ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_4 ( ) . when ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , IDENT_5 ) . METHOD_5 ( org . mockito . Mockito . any ( java . io . File . class ) ) ; java . lang . reflect . Method IDENT_8 = METHOD_6 ( ) ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_4 ( ) . when ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , IDENT_8 ) . METHOD_5 ( org . mockito . Mockito . METHOD_7 ( java . lang . String [ ] . class ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . any ( java . io . File . class ) ) ; java . lang . reflect . Method IDENT_9 = org . IDENT_6 . IDENT_7 . METHOD_2 ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , org . IDENT_6 . IDENT_7 . METHOD_3 ( STRING_1 ) ) . iterator ( ) . next ( ) ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_4 ( ) . when ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , IDENT_9 ) . METHOD_5 ( org . mockito . Mockito . anyString ( ) ) ; java . lang . reflect . Method IDENT_10 = org . IDENT_6 . IDENT_7 . METHOD_2 ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , org . IDENT_6 . IDENT_7 . METHOD_3 ( STRING_2 ) ) . iterator ( ) . next ( ) ; org . IDENT_0 . api . mockito . IDENT_1 . doReturn ( STRING_3 ) . when ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , IDENT_10 ) . METHOD_5 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; org . IDENT_0 . api . mockito . IDENT_1 . when ( org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . class , new java . util . ArrayList ( ) , STRING_4 , STRING_5 ) . METHOD_8 ( ) ; java . lang . String IDENT_11 = org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_9 ( new java . util . ArrayList ( ) , STRING_4 , STRING_5 ) ; "<AssertPlaceHolder>" ; org . IDENT_0 . api . mockito . IDENT_1 . METHOD_10 ( ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_11 ( org . mockito . Mockito . any ( java . io . File . class ) ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_12 ( org . mockito . Mockito . METHOD_7 ( java . lang . String [ ] . class ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . any ( java . io . File . class ) ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_13 ( org . mockito . Mockito . anyString ( ) ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_14 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; } METHOD_9 ( java . util . List , java . lang . String , java . lang . String ) { if ( IDENT_12 == null ) { throw new com . cloud . utils . exception . METHOD_15 ( STRING_6 ) ; } java . nio . file . Path IDENT_13 = null ; java . lang . String IDENT_14 = null ; try { IDENT_13 = java . nio . file . IDENT_15 . METHOD_16 ( IDENT_16 . IDENT_17 ) ; IDENT_14 = IDENT_13 . toString ( ) ; java . io . File IDENT_18 = new java . io . File ( ( IDENT_14 + ( IDENT_16 . IDENT_19 ) ) ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_11 ( IDENT_18 ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_12 ( IDENT_12 , IDENT_14 , IDENT_18 ) ; org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_13 ( IDENT_14 ) ; return org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_14 ( IDENT_20 , IDENT_21 , IDENT_14 ) ; } catch ( java . io . IOException e ) { throw new com . cloud . utils . exception . METHOD_15 ( STRING_7 , e ) ; } finally { org . apache . IDENT_2 . storage . IDENT_3 . IDENT_4 . METHOD_17 ( IDENT_13 ) ; } }
org . junit . Assert . assertEquals ( STRING_3 , IDENT_11 )