METHOD_0 ( ) { IDENT_0 . feature . IDENT_1 . IDENT_2 IDENT_3 = IDENT_0 . feature . IDENT_1 . IDENT_2 . getInstance ( ) ; IDENT_3 . execute ( new IDENT_0 . feature . IDENT_1 . IDENT_2 . METHOD_1 ( ) { @ IDENT_0 . feature . IDENT_1 . Override public com . IDENT_4 . IDENT_5 . android . IDENT_0 . IDENT_6 METHOD_2 ( IDENT_0 . feature . IDENT_1 . IDENT_7 IDENT_8 ) { log ( STRING_0 ) ; try { log ( STRING_1 ) ; java . lang . Thread . sleep ( INT_0 ) ; } catch ( java . lang . IDENT_9 e ) { e . printStackTrace ( ) ; } IDENT_0 . feature . IDENT_1 . IDENT_10 bean = new IDENT_0 . feature . IDENT_1 . METHOD_3 ( ) ; bean . setName ( STRING_2 ) ; IDENT_8 . METHOD_4 ( ) . METHOD_5 ( bean ) ; log ( STRING_3 ) ; return com . IDENT_4 . IDENT_5 . android . IDENT_0 . IDENT_6 . IDENT_11 ; } } ) ; final java . util . List < java . lang . Integer > operations = new java . util . ArrayList ( ) ; java . util . concurrent . IDENT_12 < java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > > IDENT_13 = IDENT_3 . METHOD_6 ( new IDENT_0 . feature . IDENT_1 . IDENT_2 . IDENT_14 < java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > > ( ) { @ IDENT_0 . feature . IDENT_1 . Override public java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > METHOD_2 ( IDENT_0 . feature . IDENT_1 . IDENT_7 IDENT_8 ) { log ( STRING_4 ) ; try { java . lang . Thread . sleep ( INT_1 ) ; } catch ( java . lang . IDENT_9 e ) { e . printStackTrace ( ) ; } operations . add ( 1 ) ; java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > list = IDENT_8 . METHOD_4 ( ) . METHOD_7 ( ) ; log ( STRING_5 ) ; return list ; } } ) ; java . util . concurrent . IDENT_12 < java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > > IDENT_15 = IDENT_3 . METHOD_6 ( new IDENT_0 . feature . IDENT_1 . IDENT_2 . IDENT_14 < java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > > ( ) { @ IDENT_0 . feature . IDENT_1 . Override public java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > METHOD_2 ( IDENT_0 . feature . IDENT_1 . IDENT_7 IDENT_8 ) { log ( STRING_6 ) ; try { java . lang . Thread . sleep ( 1 ) ; } catch ( java . lang . IDENT_9 e ) { e . printStackTrace ( ) ; } operations . add ( 2 ) ; java . util . List < IDENT_0 . feature . IDENT_1 . METHOD_3 > list = IDENT_8 . METHOD_4 ( ) . METHOD_7 ( ) ; log ( STRING_7 ) ; return list ; } } ) ; IDENT_13 . get ( ) ; IDENT_15 . get ( ) ; "<AssertPlaceHolder>" ; com . IDENT_4 . IDENT_5 . android . IDENT_16 . METHOD_8 ( ) . METHOD_9 ( 10 , TimeUnit . IDENT_17 ) ; com . IDENT_4 . IDENT_5 . android . IDENT_18 . info ( STRING_7 0 ) ; } get ( java . lang . String ) { java . lang . String IDENT_19 = name . toLowerCase ( ) ; for ( T item : collection ) { if ( item . getName ( ) . toLowerCase ( ) . equals ( IDENT_19 ) ) { return item ; } } return null ; }
org . junit . Assert . assertTrue ( ( ( ( operations . get ( 0 ) ) == 2 ) && ( ( operations . get ( 1 ) ) == 1 ) ) )