METHOD_0 ( ) { org . apache . hadoop . yarn . server . IDENT_0 . store . records . IDENT_1 IDENT_2 ; java . util . Map < org . apache . hadoop . yarn . server . IDENT_0 . store . records . IDENT_1 , java . util . concurrent . atomic . IDENT_3 > IDENT_4 = new java . util . HashMap ( ) ; for ( org . apache . hadoop . yarn . server . IDENT_0 . store . records . IDENT_1 id : METHOD_1 ( ) . METHOD_2 ( ) ) { IDENT_4 . put ( id , new java . util . concurrent . atomic . METHOD_3 ( 0 ) ) ; } long IDENT_5 = 100 ; org . apache . hadoop . yarn . api . records . IDENT_6 IDENT_7 = mock ( org . apache . hadoop . yarn . api . records . IDENT_6 . class ) ; for ( int i = 0 ; i < ( IDENT_5 * ( IDENT_8 ) ) ; i ++ ) { when ( IDENT_7 . METHOD_4 ( ) ) . thenReturn ( ( STRING_0 + i ) ) ; IDENT_2 = ( ( org . apache . hadoop . yarn . server . IDENT_0 . IDENT_9 . IDENT_10 . IDENT_11 ) ( METHOD_5 ( ) ) ) . METHOD_6 ( IDENT_7 , null ) ; IDENT_4 . get ( IDENT_2 ) . METHOD_7 ( 1 ) ; } for ( java . util . concurrent . atomic . METHOD_3 a : IDENT_4 . values ( ) ) { "<AssertPlaceHolder>" ; } } get ( ) { try { java . util . List < org . apache . hadoop . yarn . api . records . IDENT_12 > IDENT_13 = client . METHOD_8 ( ) ; if ( ( IDENT_13 == null ) || ( IDENT_13 . isEmpty ( ) ) ) { return false ; } org . apache . hadoop . yarn . api . records . IDENT_14 IDENT_15 = IDENT_13 . get ( 0 ) . METHOD_9 ( ) ; java . util . List < org . apache . hadoop . yarn . api . records . IDENT_16 > IDENT_17 = client . METHOD_10 ( IDENT_15 ) ; if ( ( IDENT_17 == null ) || ( IDENT_17 . isEmpty ( ) ) ) { return false ; } org . apache . hadoop . yarn . api . records . IDENT_18 IDENT_19 = IDENT_17 . get ( 0 ) . METHOD_11 ( ) ; java . util . List < org . apache . hadoop . yarn . api . records . IDENT_20 > IDENT_21 = client . METHOD_12 ( IDENT_19 ) ; return ( IDENT_21 . size ( ) ) == IDENT_22 ; } catch ( java . lang . Exception e ) { return false ; } }
org . junit . Assert . assertEquals ( a . get ( ) , IDENT_5 )