METHOD_0 ( ) { org . apache . ambari . server . state . IDENT_0 cluster = METHOD_1 ( org . apache . ambari . server . state . IDENT_0 . class ) ; org . apache . ambari . server . state . IDENT_1 IDENT_2 = METHOD_1 ( org . apache . ambari . server . state . IDENT_1 . class ) ; expect ( cluster . METHOD_2 ( ) ) . andReturn ( INT_0 ) ; replay ( cluster , IDENT_2 ) ; org . apache . ambari . server . events . IDENT_3 . IDENT_4 IDENT_5 = IDENT_6 . getInstance ( org . apache . ambari . server . events . IDENT_3 . IDENT_4 . class ) ; org . apache . ambari . server . events . IDENT_3 . IDENT_7 . IDENT_8 listener = IDENT_6 . getInstance ( org . apache . ambari . server . events . IDENT_3 . IDENT_7 . IDENT_8 . class ) ; org . apache . ambari . server . events . IDENT_9 event = new org . apache . ambari . server . events . METHOD_3 ( cluster , IDENT_2 , STRING_0 ) ; IDENT_5 . METHOD_4 ( event ) ; "<AssertPlaceHolder>" ; verify ( cluster , IDENT_2 ) ; } METHOD_5 ( ) { return IDENT_10 ; }
org . junit . Assert . assertEquals ( event , listener . METHOD_5 ( ) )