METHOD_0 ( ) { long start = java . lang . System . currentTimeMillis ( ) ; final java . lang . Thread IDENT_0 = java . lang . Thread . METHOD_1 ( ) ; new java . lang . Thread ( new java . lang . METHOD_2 ( ) { @ org . IDENT_1 . IDENT_2 . internal . Override public void run ( ) { try { java . lang . Thread . sleep ( 1000 ) ; } catch ( java . lang . IDENT_3 e ) { } IDENT_0 . METHOD_3 ( ) ; } } ) . start ( ) ; this . IDENT_4 . METHOD_4 ( this . IDENT_5 ) ; this . IDENT_4 . METHOD_4 ( this . IDENT_5 ) ; long time = ( java . lang . System . currentTimeMillis ( ) ) - start ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . xwiki . model . reference . IDENT_6 ) { try { final java . util . concurrent . IDENT_2 . IDENT_7 METHOD_4 = this . IDENT_2 . METHOD_5 ( document , ( k ) -> new java . util . concurrent . IDENT_2 . METHOD_6 ( ) . METHOD_7 ( ) ) ; final boolean IDENT_8 = METHOD_4 . METHOD_8 ( 10 , TimeUnit . IDENT_9 ) ; if ( ! IDENT_8 ) { this . logger . debug ( STRING_0 , document ) ; } } catch ( java . lang . IDENT_3 ex ) { this . logger . error ( STRING_1 , ex . getMessage ( ) , ex ) ; } }
org . junit . Assert . assertTrue ( ( time < ( 5 * 1000 ) ) )