METHOD_0 ( ) { java . lang . String path = STRING_0 ; java . io . File file = org . mockito . Mockito . mock ( java . io . File . class ) ; java . io . File directory = org . mockito . Mockito . mock ( java . io . File . class ) ; java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_1 , STRING_2 , STRING_3 } ; org . IDENT_1 . api . mockito . IDENT_2 . METHOD_1 ( java . io . File . class ) . METHOD_2 ( org . mockito . Mockito . anyString ( ) ) . thenReturn ( directory ) ; org . mockito . Mockito . when ( file . METHOD_3 ( ) ) . thenReturn ( directory ) ; org . mockito . Mockito . when ( directory . exists ( ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( directory . METHOD_4 ( ) ) . thenReturn ( true ) ; org . mockito . Mockito . when ( directory . list ( ) ) . thenReturn ( IDENT_0 ) ; org . mockito . Mockito . when ( directory . toString ( ) ) . thenReturn ( path ) ; doReturn ( directory ) . when ( IDENT_3 ) . METHOD_5 ( path ) ; doReturn ( false ) . when ( IDENT_3 ) . METHOD_6 ( org . mockito . Mockito . anyString ( ) ) ; boolean result = IDENT_3 . METHOD_7 ( path ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( java . lang . String ) { if ( ( ( com . IDENT_4 . IDENT_5 . core . util . IDENT_6 . METHOD_8 ( ) ) && ( ( STRING_4 . equals ( IDENT_7 ) ) || ( STRING_5 . equals ( IDENT_7 ) ) ) ) || ( "/" . equals ( IDENT_7 ) ) ) { com . IDENT_4 . IDENT_5 . core . IDENT_8 . impl . IDENT_9 . LOGGER . error ( ( STRING_6 + IDENT_7 ) ) ; return false ; } try { java . io . File directory = new java . io . File ( IDENT_7 ) ; if ( ! ( directory . exists ( ) ) ) { return false ; } org . apache . commons . io . IDENT_10 . METHOD_9 ( directory ) ; } catch ( java . io . IOException ex ) { return false ; } return true ; }
org . junit . Assert . assertTrue ( ( ! result ) )