METHOD_0 ( ) { final boolean IDENT_0 = false ; org . IDENT_1 . engine . repository . IDENT_2 IDENT_3 = engine . METHOD_1 ( ) . METHOD_2 ( ) . METHOD_3 ( STRING_0 ) . METHOD_4 ( ) ; if ( IDENT_3 == null ) { METHOD_5 ( STRING_1 ) ; IDENT_3 = engine . METHOD_1 ( ) . METHOD_2 ( ) . METHOD_3 ( STRING_0 ) . METHOD_4 ( ) ; } METHOD_6 ( IDENT_3 ) ; final java . util . Map < java . lang . String , java . lang . Object > values = com . google . common . collect . ImmutableMap . < java . lang . String , java . lang . Object > of ( "1" , "1" , STRING_2 , "2" ) ; final java . lang . String id = IDENT_3 . getId ( ) ; final org . IDENT_1 . engine . impl . IDENT_4 IDENT_5 = ( ( org . IDENT_1 . engine . impl . IDENT_4 ) ( engine . METHOD_7 ( ) ) ) ; int IDENT_6 = INT_0 ; final java . util . concurrent . IDENT_7 executor = java . util . concurrent . IDENT_8 . METHOD_8 ( ) ; final java . util . List < java . util . concurrent . IDENT_9 < java . lang . String > > IDENT_10 = new java . util . ArrayList < java . util . concurrent . IDENT_9 < java . lang . String > > ( ) ; for ( int i = 1 ; i <= IDENT_6 ; i ++ ) { final java . util . concurrent . IDENT_9 < java . lang . String > future = executor . METHOD_9 ( new java . util . concurrent . IDENT_11 < java . lang . String > ( ) { @ IDENT_12 . IDENT_13 . IDENT_14 . IDENT_1 . Override public java . lang . String call ( ) throws IDENT_12 . IDENT_13 . IDENT_14 . IDENT_1 . Exception { IDENT_12 . IDENT_13 . IDENT_14 . service . IDENT_15 IDENT_16 = IDENT_5 . METHOD_10 ( ) . execute ( new IDENT_12 . IDENT_13 . IDENT_14 . IDENT_1 . METHOD_11 ( null , null , id , values , null , STRING_3 , null , null ) { void METHOD_12 ( IDENT_12 . IDENT_13 . IDENT_17 . database . IDENT_18 IDENT_19 , org . IDENT_1 . engine . impl . persistence . entity . IDENT_20 IDENT_21 ) { } } ) ; return java . lang . Long . toString ( IDENT_16 . IDENT_22 ) ; } } ) ; IDENT_10 . add ( future ) ; } int IDENT_23 = 0 ; for ( final java . util . concurrent . IDENT_9 < java . lang . String > future : IDENT_10 ) { try { java . lang . String IDENT_24 = future . get ( 1 , TimeUnit . IDENT_25 ) ; if ( IDENT_0 ) { System . out . METHOD_13 ( ( " " + IDENT_24 ) ) ; } IDENT_23 ++ ; } catch ( java . lang . IDENT_26 e ) { e . printStackTrace ( ) ; break ; } catch ( java . util . concurrent . IDENT_27 e ) { e . printStackTrace ( ) ; break ; } catch ( java . util . concurrent . IDENT_28 e ) { e . printStackTrace ( ) ; break ; } } executor . METHOD_14 ( ) ; "<AssertPlaceHolder>" ; } printStackTrace ( ) { delegate . printStackTrace ( ) ; }
org . junit . Assert . assertEquals ( IDENT_6 , IDENT_23 )