METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . impl . IDENT_2 . IDENT_3 IDENT_4 = new org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . impl . IDENT_2 . METHOD_1 ( ) ; org . apache . hadoop . yarn . event . IDENT_5 IDENT_6 = mock ( org . apache . hadoop . yarn . event . IDENT_5 . class ) ; java . lang . String [ ] IDENT_7 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 } ; java . util . Set < java . lang . String > IDENT_8 = new java . util . IDENT_9 < java . lang . String > ( java . util . Arrays . asList ( new java . lang . String [ ] { STRING_3 , STRING_1 , STRING_2 } ) ) ; org . apache . IDENT_0 . IDENT_1 . api . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . IDENT_0 . IDENT_1 . api . IDENT_10 . METHOD_2 ( new java . util . IDENT_9 < java . lang . String > ( java . util . Arrays . asList ( IDENT_7 ) ) , null ) ; org . apache . IDENT_0 . IDENT_1 . records . IDENT_13 IDENT_14 = org . apache . IDENT_0 . IDENT_1 . records . IDENT_13 . getInstance ( org . apache . IDENT_0 . IDENT_1 . records . IDENT_15 . getInstance ( org . apache . IDENT_0 . IDENT_1 . records . IDENT_16 . getInstance ( "1" , 1 , 1 ) , 1 ) , 1 ) ; org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . impl . IDENT_2 IDENT_17 = new org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . impl . IDENT_18 . METHOD_3 ( IDENT_14 , 1 , IDENT_6 , mock ( org . apache . IDENT_0 . IDENT_1 . app . IDENT_19 . class ) , new org . apache . hadoop . conf . Configuration ( ) , new org . apache . hadoop . yarn . util . METHOD_4 ( ) , mock ( org . apache . IDENT_0 . IDENT_1 . app . IDENT_20 . class ) , mock ( org . apache . IDENT_0 . IDENT_1 . app . IDENT_21 . class ) , IDENT_12 , false , org . apache . hadoop . yarn . api . records . IDENT_22 . newInstance ( INT_0 , 1 ) , org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . impl . IDENT_18 . METHOD_5 ( ) , false ) ; org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . impl . IDENT_2 IDENT_23 = METHOD_6 ( IDENT_17 ) ; when ( IDENT_23 . METHOD_7 ( IDENT_7 ) ) . thenReturn ( IDENT_8 . toArray ( new java . lang . String [ 3 ] ) ) ; org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . event . IDENT_24 IDENT_25 = mock ( org . apache . IDENT_0 . IDENT_1 . app . IDENT_1 . event . IDENT_24 . class ) ; IDENT_4 . METHOD_8 ( IDENT_23 , IDENT_25 ) ; verify ( IDENT_23 ) . METHOD_7 ( IDENT_7 ) ; org . mockito . IDENT_26 < org . apache . hadoop . yarn . event . IDENT_27 > IDENT_28 = org . mockito . IDENT_26 . METHOD_9 ( org . apache . hadoop . yarn . event . IDENT_27 . class ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_10 ( IDENT_28 . METHOD_11 ( ) ) ; if ( ! ( ( IDENT_28 . METHOD_12 ( ) . get ( 0 ) ) instanceof org . apache . IDENT_0 . IDENT_1 . app . IDENT_29 . IDENT_30 ) ) { org . junit . Assert . fail ( STRING_4 ) ; } java . util . Map < java . lang . String , java . lang . Boolean > expected = new java . util . HashMap < java . lang . String , java . lang . Boolean > ( ) ; expected . put ( STRING_3 , true ) ; expected . put ( STRING_1 , true ) ; expected . put ( STRING_2 , true ) ; java . util . Set < java . lang . String > IDENT_31 = IDENT_23 . IDENT_32 ; for ( java . lang . String IDENT_33 : IDENT_31 ) { expected . remove ( IDENT_33 ) ; } "<AssertPlaceHolder>" ; } size ( ) { return IDENT_34 . size ( ) ; }
org . junit . Assert . assertEquals ( 0 , expected . size ( ) )