METHOD_0 ( ) { java . lang . String id = STRING_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 ) ; org . apache . hadoop . yarn . service . api . records . IDENT_2 IDENT_3 = new org . apache . hadoop . yarn . service . api . records . METHOD_1 ( ) ; org . apache . hadoop . yarn . service . api . records . IDENT_4 IDENT_5 = new org . apache . hadoop . yarn . service . api . records . METHOD_2 ( ) ; org . apache . hadoop . yarn . service . api . records . IDENT_6 c = new org . apache . hadoop . yarn . service . api . records . METHOD_3 ( ) ; c . setId ( STRING_1 ) ; java . util . List < org . apache . hadoop . yarn . service . api . records . METHOD_3 > IDENT_7 = new java . util . ArrayList < org . apache . hadoop . yarn . service . api . records . METHOD_3 > ( ) ; IDENT_7 . add ( c ) ; IDENT_5 . METHOD_4 ( IDENT_7 ) ; IDENT_3 . METHOD_5 ( IDENT_5 ) ; javax . ws . rs . core . Response expected = javax . ws . rs . core . Response . METHOD_6 ( ) . build ( ) ; when ( ac . METHOD_7 ( id ) ) . thenReturn ( javax . ws . rs . core . Response . METHOD_6 ( ) . build ( ) ) ; final javax . ws . rs . core . Response actual = ac . METHOD_7 ( id ) ; "<AssertPlaceHolder>" ; } getStatus ( ) { return status ; }
org . junit . Assert . assertEquals ( expected . getStatus ( ) , actual . getStatus ( ) )