METHOD_0 ( ) { org . apache . ambari . view . IDENT_0 exception = new org . apache . ambari . view . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { org . apache . ambari . server . IDENT_1 . entities . IDENT_2 IDENT_3 = METHOD_3 ( ) ; org . apache . ambari . server . IDENT_1 . entities . IDENT_4 IDENT_5 = IDENT_3 . getResource ( ) ; if ( IDENT_5 == null ) { org . apache . ambari . server . state . cluster . IDENT_6 . LOG . warn ( STRING_1 , METHOD_4 ( ) , METHOD_5 ( ) ) ; return null ; } else { return IDENT_5 . getId ( ) ; } }
org . junit . Assert . assertEquals ( STRING_0 , exception . METHOD_2 ( ) )