METHOD_0 ( ) { org . apache . ambari . server . controller . IDENT_0 IDENT_1 = org . apache . ambari . server . controller . IDENT_2 . IDENT_3 . getInstance ( org . apache . ambari . server . controller . IDENT_0 . class ) ; org . apache . ambari . server . state . IDENT_4 cluster = METHOD_1 ( org . apache . ambari . server . state . IDENT_4 . class ) ; expect ( cluster . METHOD_2 ( ) ) . andReturn ( IDENT_5 . IDENT_6 ) ; replay ( cluster ) ; "<AssertPlaceHolder>" ; verify ( cluster ) ; } METHOD_3 ( org . apache . ambari . server . state . IDENT_4 ) { return ( cluster . METHOD_2 ( ) ) == ( org . apache . ambari . server . state . IDENT_5 . IDENT_6 ) ; }
org . junit . Assert . assertTrue ( IDENT_1 . METHOD_3 ( cluster ) )