METHOD_0 ( ) { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . com . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = mock ( IDENT_4 . IDENT_5 . class ) ; java . lang . String IDENT_7 = STRING_0 + STRING_1 ; java . lang . String IDENT_8 = STRING_2 ; java . lang . String IDENT_9 = STRING_3 ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_6 . METHOD_2 ( STRING_4 0 ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_6 . METHOD_2 ( STRING_5 ) ) . thenReturn ( IDENT_9 ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . com . IDENT_3 . IDENT_4 plugin = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . com . IDENT_3 . METHOD_3 ( ) ; plugin . METHOD_4 ( IDENT_6 ) ; plugin . METHOD_5 ( STRING_6 ) ; java . util . Set < org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_10 . IDENT_11 > IDENT_12 = new java . util . METHOD_6 ( ) ; IDENT_12 . add ( IDENT_11 . Builder . newInstance ( ) . setId ( 0 ) . METHOD_7 ( true ) . METHOD_8 ( STRING_7 ) . METHOD_9 ( STRING_4 ) . METHOD_10 ( INT_0 ) . METHOD_11 ( 0 ) . build ( ) ) ; IDENT_12 . add ( IDENT_11 . Builder . newInstance ( ) . setId ( 1 ) . METHOD_7 ( true ) . METHOD_8 ( STRING_8 ) . METHOD_9 ( STRING_9 ) . METHOD_10 ( INT_0 ) . METHOD_11 ( 1 ) . build ( ) ) ; java . util . Set < org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_10 . IDENT_11 > IDENT_13 = plugin . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( ) { java . util . METHOD_6 < org . apache . hadoop . yarn . server . IDENT_0 . api . IDENT_10 . IDENT_11 > r = new java . util . METHOD_6 ( ) ; r . add ( IDENT_11 . Builder . newInstance ( ) . setId ( 0 ) . METHOD_9 ( STRING_10 ) . METHOD_10 ( INT_1 ) . METHOD_11 ( 0 ) . METHOD_8 ( STRING_11 ) . METHOD_7 ( true ) . build ( ) ) ; r . add ( IDENT_11 . Builder . newInstance ( ) . setId ( 1 ) . METHOD_9 ( STRING_12 ) . METHOD_10 ( INT_1 ) . METHOD_11 ( 1 ) . METHOD_8 ( STRING_13 ) . METHOD_7 ( true ) . build ( ) ) ; r . add ( IDENT_11 . Builder . newInstance ( ) . setId ( 2 ) . METHOD_9 ( STRING_14 ) . METHOD_10 ( INT_1 ) . METHOD_11 ( 2 ) . METHOD_8 ( STRING_15 ) . METHOD_7 ( true ) . build ( ) ) ; return r ; }
org . junit . Assert . assertEquals ( IDENT_12 , IDENT_13 )