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