METHOD_0 ( ) { com . google . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( com . google . IDENT_0 . IDENT_1 . class ) ; org . easymock . IDENT_3 < org . apache . ambari . server . controller . IDENT_4 > IDENT_5 = org . easymock . EasyMock . METHOD_2 ( ) ; org . apache . ambari . server . state . IDENT_6 IDENT_7 = METHOD_3 ( org . apache . ambari . server . state . IDENT_6 . class ) ; org . apache . ambari . server . controller . IDENT_8 IDENT_9 = METHOD_3 ( org . apache . ambari . server . controller . IDENT_8 . class ) ; org . apache . ambari . server . state . IDENT_10 cluster = METHOD_3 ( org . apache . ambari . server . state . IDENT_10 . class ) ; org . apache . ambari . server . state . IDENT_11 service = METHOD_3 ( org . apache . ambari . server . state . IDENT_11 . class ) ; org . apache . ambari . server . controller . IDENT_12 IDENT_13 = new org . apache . ambari . server . controller . METHOD_4 ( STRING_0 , STRING_1 , STRING_2 , null , java . lang . String . valueOf ( true ) ) ; java . util . Set < org . apache . ambari . server . controller . METHOD_4 > IDENT_14 = new java . util . HashSet ( ) ; IDENT_14 . add ( IDENT_13 ) ; org . apache . ambari . server . controller . IDENT_15 . METHOD_5 ( IDENT_2 , IDENT_5 , null , IDENT_9 , METHOD_3 ( org . apache . ambari . server . controller . IDENT_16 . class ) , null , null ) ; expect ( IDENT_7 . METHOD_6 ( STRING_0 ) ) . andReturn ( cluster ) ; expect ( cluster . METHOD_7 ( STRING_1 ) ) . andReturn ( service ) ; expect ( service . METHOD_8 ( STRING_2 ) ) . METHOD_9 ( new org . apache . ambari . server . METHOD_10 ( STRING_0 , STRING_1 , STRING_2 ) ) ; replay ( IDENT_9 , IDENT_2 , IDENT_7 , cluster , service ) ; org . apache . ambari . server . controller . IDENT_4 controller = new org . apache . ambari . server . controller . METHOD_11 ( null , IDENT_7 , IDENT_2 ) ; try { org . apache . ambari . server . controller . internal . IDENT_17 . METHOD_12 ( controller ) . METHOD_13 ( IDENT_14 ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( org . apache . ambari . server . METHOD_10 e ) { } "<AssertPlaceHolder>" ; verify ( IDENT_2 , IDENT_7 , cluster , service ) ; } getValue ( ) { java . lang . Object o = ( ( delegate ) == null ) ? null : delegate . getValue ( ) ; return o == null ? null : o . toString ( ) ; }
org . junit . Assert . assertSame ( controller , IDENT_5 . getValue ( ) )