METHOD_0 ( ) { "<AssertPlaceHolder>" ; verify ( mock ) . close ( ) ; } tx ( com . IDENT_0 . IDENT_1 . tx . IDENT_2 ) { T IDENT_3 = null ; boolean IDENT_4 = false ; for ( int IDENT_5 = 0 ; IDENT_5 < ( IDENT_6 ) ; IDENT_5 ++ ) { final com . IDENT_7 . metrics . IDENT_8 . Context context = IDENT_9 . time ( ) ; try ( com . IDENT_0 . IDENT_1 . tx . IDENT_10 tx = tx ( ) ) { IDENT_3 = IDENT_11 . METHOD_1 ( tx ) ; IDENT_4 = true ; tx . METHOD_2 ( ) ; } catch ( com . orientechnologies . orient . core . exception . IDENT_12 e ) { com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . error ( STRING_0 ) ; } catch ( com . orientechnologies . common . IDENT_17 . IDENT_18 | com . tinkerpop . IDENT_19 . util . IDENT_20 e ) { if ( com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . METHOD_3 ( ) ) { com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . trace ( ( STRING_1 + IDENT_5 ) , e ) ; } int IDENT_21 = ( ( int ) ( ( java . lang . Math . random ( ) ) * FLOAT_0 ) ) ; try { java . lang . Thread . sleep ( ( ( 50 + ( IDENT_5 * INT_0 ) ) + IDENT_21 ) ) ; } catch ( java . lang . IDENT_22 IDENT_23 ) { IDENT_23 . printStackTrace ( ) ; } IDENT_4 = false ; IDENT_3 = null ; } catch ( com . orientechnologies . orient . core . storage . IDENT_24 e ) { com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . error ( e ) ; throw error ( io . netty . handler . codec . http . IDENT_25 . IDENT_26 , STRING_2 ) ; } catch ( com . IDENT_13 . IDENT_14 . core . rest . error . IDENT_27 e ) { throw e ; } catch ( java . lang . RuntimeException e ) { if ( com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . METHOD_4 ( ) ) { com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . debug ( STRING_3 , e ) ; } throw e ; } catch ( java . lang . Exception e ) { if ( com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . METHOD_4 ( ) ) { com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . debug ( STRING_3 , e ) ; } throw new java . lang . RuntimeException ( STRING_4 , e ) ; } finally { context . METHOD_5 ( ) ; } if ( ( ! IDENT_4 ) && ( com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . METHOD_4 ( ) ) ) { com . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . log . debug ( ( ( STRING_5 + IDENT_5 ) + STRING_6 ) ) ; if ( metrics . METHOD_6 ( ) ) { IDENT_28 . METHOD_7 ( ) ; } } if ( IDENT_4 ) { return IDENT_3 ; } } throw new java . lang . RuntimeException ( ( ( STRING_7 + ( IDENT_6 ) ) + STRING_8 ) ) ; }
org . junit . Assert . assertEquals ( "test" , tx ( ( ) -> { return "test" ; } ) )