METHOD_0 ( ) { org . apache . hadoop . yarn . IDENT_0 . controller . IDENT_1 ac = org . mockito . Mockito . mock ( org . apache . hadoop . yarn . IDENT_0 . controller . IDENT_1 . class ) ; java . util . List < org . apache . hadoop . yarn . IDENT_0 . model . IDENT_2 > actual = new java . util . ArrayList < org . apache . hadoop . yarn . IDENT_0 . model . IDENT_2 > ( ) ; when ( ac . METHOD_1 ( ) ) . thenReturn ( actual ) ; final java . util . List < org . apache . hadoop . yarn . IDENT_0 . model . IDENT_2 > result = ac . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { org . apache . hadoop . yarn . IDENT_0 . application . IDENT_3 IDENT_4 = new org . apache . hadoop . yarn . IDENT_0 . application . METHOD_2 ( ) ; return IDENT_4 . METHOD_3 ( ) ; }
org . junit . Assert . assertEquals ( result , actual )