METHOD_0 ( ) { final org . bonitasoft . engine . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . bonitasoft . engine . IDENT_0 . IDENT_1 . class ) ; final org . bonitasoft . engine . log . IDENT_3 . IDENT_4 logger = mock ( org . bonitasoft . engine . log . IDENT_3 . IDENT_4 . class ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( logger ) ; final org . bonitasoft . engine . IDENT_0 . IDENT_5 IDENT_6 = new org . bonitasoft . engine . IDENT_0 . METHOD_2 ( IDENT_2 ) ; final long now = 10 ; when ( IDENT_2 . METHOD_3 ( ) ) . METHOD_4 ( org . bonitasoft . engine . IDENT_0 . RuntimeException . class ) ; final long IDENT_7 = IDENT_6 . METHOD_3 ( now ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . bonitasoft . engine . IDENT_0 . IDENT_8 ) { final long IDENT_9 = IDENT_10 . METHOD_5 ( ) ; final java . util . List < org . bonitasoft . engine . IDENT_0 . IDENT_11 > records = IDENT_10 . METHOD_6 ( ) ; final java . util . List < java . util . List < java . lang . String > > IDENT_12 = new java . util . ArrayList < java . util . List < java . lang . String > > ( ) ; for ( final org . bonitasoft . engine . IDENT_0 . IDENT_11 record : records ) { final java . util . List < java . lang . String > row = METHOD_7 ( record ) ; IDENT_12 . add ( row ) ; } final java . io . File IDENT_13 = METHOD_8 ( IDENT_9 , IDENT_14 , org . bonitasoft . engine . IDENT_0 . IDENT_15 . IDENT_16 . IDENT_17 , org . bonitasoft . engine . IDENT_0 . IDENT_15 . IDENT_16 . IDENT_18 ) ; if ( ! ( IDENT_13 . exists ( ) ) ) { log ( IDENT_19 . IDENT_20 , ( STRING_0 + IDENT_13 ) ) ; org . bonitasoft . engine . IDENT_0 . IDENT_15 . IDENT_21 . METHOD_9 ( IDENT_13 , METHOD_10 ( ) , IDENT_22 ) ; } else { log ( IDENT_19 . IDENT_20 , ( STRING_1 + IDENT_13 ) ) ; } org . bonitasoft . engine . IDENT_0 . IDENT_15 . IDENT_21 . METHOD_11 ( IDENT_13 , IDENT_12 , IDENT_22 ) ; return new org . bonitasoft . engine . IDENT_0 . IDENT_15 . METHOD_12 ( IDENT_10 , IDENT_13 ) ; }
org . junit . Assert . assertEquals ( now , IDENT_7 )