METHOD_0 ( ) { final java . nio . file . Path directory = IDENT_0 . METHOD_1 ( ) . METHOD_2 ( ) ; final java . io . File IDENT_1 = directory . resolve ( STRING_0 ) . METHOD_3 ( ) ; final java . io . File IDENT_2 = directory . resolve ( STRING_1 ) . METHOD_3 ( ) ; final java . io . File IDENT_3 = directory . resolve ( STRING_2 ) . METHOD_3 ( ) ; final com . spotify . IDENT_4 . IDENT_5 < java . lang . IDENT_6 > task = com . spotify . IDENT_4 . IDENT_5 . METHOD_4 ( STRING_3 ) . METHOD_5 ( com . spotify . IDENT_4 . context . IDENT_6 . class ) . process ( ( ) -> { try { IDENT_1 . METHOD_6 ( ) ; while ( true ) { if ( IDENT_2 . exists ( ) ) { IDENT_3 . METHOD_6 ( ) ; return null ; } java . lang . Thread . sleep ( 100 ) ; } } catch ( java . io . IOException | java . lang . IDENT_7 e ) { throw new < com . spotify . IDENT_4 . context . e > java . lang . RuntimeException ( ) ; } } ) ; final com . spotify . IDENT_4 . context . IDENT_8 . Result < java . lang . IDENT_6 > result = com . spotify . IDENT_4 . context . IDENT_8 . METHOD_7 ( task ) ; java . util . concurrent . IDENT_9 . METHOD_8 ( ( ) -> { while ( true ) { if ( IDENT_1 . exists ( ) ) { return true ; } try { java . lang . Thread . sleep ( 100 ) ; } catch ( e ) { throw new < com . spotify . IDENT_4 . context . e > java . lang . RuntimeException ( ) ; } } } ) . get ( INT_0 , com . spotify . IDENT_4 . context . IDENT_10 ) ; try { result . future ( ) . get ( 2 , com . spotify . IDENT_4 . context . IDENT_10 ) ; org . junit . Assert . fail ( ) ; } catch ( java . util . concurrent . IDENT_11 IDENT_12 ) { } "<AssertPlaceHolder>" ; IDENT_2 . METHOD_6 ( ) ; } future ( ) { return future ; }
org . junit . Assert . assertThat ( IDENT_3 . exists ( ) , org . hamcrest . CoreMatchers . is ( false ) )