METHOD_0 ( ) { final java . io . File file = mock ( java . io . File . class ) ; when ( file . delete ( ) ) . thenReturn ( true ) ; final boolean IDENT_0 = org . bonitasoft . engine . io . IDENT_1 . METHOD_1 ( file , 2 , 1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . io . File , int , long ) { int IDENT_2 = IDENT_3 ; while ( IDENT_2 > 0 ) { if ( f . delete ( ) ) { break ; } IDENT_2 OP_0 ; try { java . lang . Thread . sleep ( IDENT_4 ) ; } catch ( final java . lang . IDENT_5 IDENT_6 ) { } } return IDENT_2 > 0 ; }
org . junit . Assert . assertTrue ( METHOD_1 )