METHOD_0 ( ) { IDENT_0 . METHOD_1 ( null ) ; java . util . List < org . apache . hadoop . yarn . api . records . IDENT_1 > IDENT_2 = new java . util . ArrayList ( ) ; when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( new java . util . HashSet < java . lang . String > ( ) { { add ( STRING_0 ) ; add ( "" ) ; } } ) ; org . apache . hadoop . yarn . api . records . IDENT_1 IDENT_4 = org . apache . hadoop . yarn . api . records . IDENT_1 . newInstance ( org . apache . hadoop . yarn . api . records . IDENT_5 . newInstance ( 1 ) , IDENT_1 . IDENT_6 , org . apache . hadoop . yarn . util . resource . IDENT_7 . METHOD_3 ( INT_0 ) , 1 , false , STRING_0 , org . apache . hadoop . yarn . api . records . IDENT_8 . newInstance ( IDENT_9 . IDENT_10 ) ) ; IDENT_2 . add ( IDENT_4 ) ; IDENT_2 . add ( org . apache . hadoop . yarn . api . records . IDENT_1 . newInstance ( org . apache . hadoop . yarn . api . records . IDENT_5 . newInstance ( 2 ) , STRING_1 , org . apache . hadoop . yarn . util . resource . IDENT_7 . METHOD_3 ( INT_1 ) , 2 , false , "" , org . apache . hadoop . yarn . api . records . IDENT_8 . newInstance ( IDENT_9 . IDENT_11 ) ) ) ; IDENT_2 . add ( org . apache . hadoop . yarn . api . records . IDENT_1 . newInstance ( org . apache . hadoop . yarn . api . records . IDENT_5 . newInstance ( 3 ) , STRING_2 , org . apache . hadoop . yarn . util . resource . IDENT_7 . METHOD_3 ( INT_2 ) , 3 , true , "" , org . apache . hadoop . yarn . api . records . IDENT_8 . newInstance ( IDENT_9 . IDENT_11 ) ) ) ; IDENT_0 . METHOD_4 ( org . apache . hadoop . yarn . server . IDENT_12 . IDENT_13 . METHOD_5 ( IDENT_2 ) ) ; org . apache . hadoop . yarn . server . IDENT_12 . IDENT_14 . IDENT_15 app = METHOD_6 ( ) ; for ( org . apache . hadoop . yarn . api . records . IDENT_1 req : IDENT_2 ) { req . METHOD_7 ( IDENT_4 . METHOD_8 ( ) ) ; req . METHOD_9 ( org . apache . hadoop . yarn . api . records . IDENT_8 . newInstance ( IDENT_9 . IDENT_10 ) ) ; req . METHOD_10 ( 1 ) ; req . METHOD_11 ( org . apache . hadoop . yarn . api . records . IDENT_5 . newInstance ( 0 ) ) ; } "<AssertPlaceHolder>" ; } METHOD_12 ( ) { return this . IDENT_16 ; }
org . junit . Assert . assertEquals ( IDENT_2 , app . METHOD_12 ( ) )