METHOD_0 ( ) { org . apache . ambari . server . IDENT_0 . entities . IDENT_1 IDENT_2 = org . apache . ambari . server . IDENT_0 . entities . IDENT_3 . METHOD_1 ( ) ; org . apache . ambari . server . view . IDENT_4 IDENT_5 = METHOD_2 ( org . apache . ambari . server . view . IDENT_4 . class ) ; org . apache . ambari . server . controller . spi . IDENT_6 . Type type = new org . apache . ambari . server . controller . spi . IDENT_6 . Type ( STRING_0 ) ; expect ( IDENT_5 . getType ( ) ) . andReturn ( type ) ; replay ( IDENT_5 ) ; IDENT_2 . METHOD_3 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) ; } METHOD_4 ( org . apache . ambari . server . controller . spi . IDENT_7 ) { return IDENT_8 . get ( type ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_2 . METHOD_4 ( type ) )