METHOD_0 ( ) { node . METHOD_1 ( new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . METHOD_2 ( null , null , null ) ) ; verify ( IDENT_2 ) . METHOD_1 ( any ( org . apache . hadoop . yarn . server . IDENT_0 . IDENT_2 . event . IDENT_3 . class ) ) ; org . apache . hadoop . yarn . api . records . IDENT_4 IDENT_5 = org . apache . hadoop . yarn . server . utils . IDENT_6 . METHOD_3 ( org . apache . hadoop . yarn . server . utils . IDENT_6 . METHOD_4 ( org . apache . hadoop . yarn . server . utils . IDENT_6 . METHOD_5 ( 0 , 0 ) , 0 ) , 0 ) ; node . METHOD_1 ( new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . METHOD_6 ( node . METHOD_7 ( ) , IDENT_5 ) ) ; "<AssertPlaceHolder>" ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_7 IDENT_8 = METHOD_8 ( null ) ; org . apache . hadoop . yarn . api . records . IDENT_9 IDENT_10 = mock ( org . apache . hadoop . yarn . api . records . IDENT_9 . class ) ; doReturn ( IDENT_5 ) . when ( IDENT_10 ) . METHOD_9 ( ) ; doReturn ( java . util . Collections . singletonList ( IDENT_10 ) ) . when ( IDENT_8 ) . METHOD_10 ( ) ; node . METHOD_1 ( IDENT_8 ) ; verify ( IDENT_2 , times ( 2 ) ) . METHOD_1 ( any ( org . apache . hadoop . yarn . server . IDENT_0 . IDENT_2 . event . IDENT_11 . class ) ) ; } METHOD_11 ( ) { this . IDENT_12 . METHOD_12 ( ) ; try { return new java . util . ArrayList < org . apache . hadoop . yarn . api . records . IDENT_4 > ( this . IDENT_13 ) ; } finally { this . IDENT_12 . METHOD_13 ( ) ; } }
org . junit . Assert . assertEquals ( 1 , node . METHOD_11 ( ) . size ( ) )