METHOD_0 ( ) { org . IDENT_0 . repository . api . IDENT_1 record = org . IDENT_0 . repository . impl . test . IDENT_2 . repository . METHOD_1 ( ) ; record . setId ( org . IDENT_0 . repository . impl . test . IDENT_2 . repository . METHOD_2 ( ) . METHOD_3 ( ) ) ; record . METHOD_4 ( org . IDENT_0 . repository . impl . test . IDENT_2 . IDENT_3 . getName ( ) ) ; record . METHOD_5 ( org . IDENT_0 . repository . impl . test . IDENT_2 . IDENT_4 . getName ( ) , new java . lang . Integer ( 0 ) ) ; org . IDENT_0 . repository . impl . test . IDENT_2 . repository . METHOD_6 ( record ) ; final org . IDENT_0 . repository . api . IDENT_5 IDENT_6 = record . getId ( ) ; int IDENT_7 = 5 ; int count = 200 ; java . util . concurrent . IDENT_8 executor = new java . util . concurrent . METHOD_7 ( IDENT_7 , IDENT_7 , 10 , java . util . concurrent . TimeUnit . IDENT_9 , new java . util . concurrent . IDENT_10 < java . lang . IDENT_11 > ( count ) ) ; java . util . List < java . util . concurrent . IDENT_12 > IDENT_13 = new java . util . ArrayList < java . util . concurrent . IDENT_12 > ( ) ; for ( int i = 0 ; i < count ; i ++ ) { IDENT_13 . add ( executor . METHOD_8 ( new java . util . concurrent . IDENT_14 < java . lang . IDENT_15 > ( ) { @ org . IDENT_0 . repository . impl . test . Override public org . IDENT_0 . repository . impl . test . IDENT_15 call ( ) throws org . IDENT_0 . repository . impl . test . Exception { int IDENT_16 = 0 ; while ( true ) { try { IDENT_16 ++ ; org . IDENT_0 . repository . api . IDENT_1 record = org . IDENT_0 . repository . impl . test . IDENT_2 . repository . read ( IDENT_6 ) ; int IDENT_17 = ( ( java . lang . Integer ) ( record . METHOD_9 ( org . IDENT_0 . repository . impl . test . IDENT_2 . IDENT_4 . getName ( ) ) ) ) ; record . METHOD_5 ( org . IDENT_0 . repository . impl . test . IDENT_2 . IDENT_4 . getName ( ) , new java . lang . Integer ( ( IDENT_17 + 1 ) ) ) ; org . IDENT_0 . repository . api . IDENT_18 IDENT_19 = new org . IDENT_0 . repository . api . METHOD_10 ( org . IDENT_0 . repository . impl . test . IDENT_2 . IDENT_4 . getName ( ) , IDENT_17 , false ) ; record = org . IDENT_0 . repository . impl . test . IDENT_2 . repository . update ( record , com . google . common . collect . Lists . newArrayList ( IDENT_19 ) ) ; if ( ( record . METHOD_11 ( ) ) == ( org . IDENT_0 . repository . api . IDENT_20 . IDENT_21 ) ) { if ( IDENT_16 > 20 ) { System . out . println ( ( STRING_0 + IDENT_16 ) ) ; } java . lang . Thread . sleep ( ( ( int ) ( ( java . lang . Math . random ( ) ) * 50 ) ) ) ; } else if ( ( record . METHOD_11 ( ) ) == ( org . IDENT_0 . repository . api . IDENT_20 . IDENT_22 ) ) { return null ; } else { org . junit . Assert . fail ( ( STRING_1 + ( record . METHOD_11 ( ) ) ) ) ; } } catch ( org . IDENT_0 . repository . api . IDENT_23 e ) { if ( IDENT_16 > 20 ) { System . out . println ( ( STRING_2 + IDENT_16 ) ) ; } java . lang . Thread . sleep ( ( ( int ) ( ( java . lang . Math . random ( ) ) * 50 ) ) ) ; } } } } ) ) ; } for ( java . util . concurrent . IDENT_12 future : IDENT_13 ) { future . get ( ) ; } executor . METHOD_12 ( ) ; record = org . IDENT_0 . repository . impl . test . IDENT_2 . repository . read ( record . getId ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( java . lang . String ) { return IDENT_24 . get ( name ) ; }
org . junit . Assert . assertEquals ( count , record . METHOD_9 ( org . IDENT_0 . repository . impl . test . IDENT_2 . IDENT_4 . getName ( ) ) )