METHOD_0 ( ) { org . easymock . IDENT_0 < org . apache . ambari . server . controller . IDENT_1 > IDENT_2 = org . easymock . EasyMock . METHOD_1 ( ) ; com . google . IDENT_3 . IDENT_4 IDENT_5 = METHOD_2 ( com . google . IDENT_3 . IDENT_4 . class ) ; org . apache . ambari . server . state . IDENT_6 cluster = METHOD_3 ( org . apache . ambari . server . state . IDENT_6 . class ) ; org . apache . ambari . server . IDENT_7 . IDENT_8 IDENT_9 = METHOD_3 ( org . apache . ambari . server . IDENT_7 . IDENT_8 . class ) ; org . apache . ambari . server . controller . IDENT_10 IDENT_11 = METHOD_3 ( org . apache . ambari . server . controller . IDENT_10 . class ) ; org . apache . ambari . server . state . IDENT_12 config = METHOD_3 ( org . apache . ambari . server . state . IDENT_12 . class ) ; java . util . Set < org . apache . ambari . server . controller . IDENT_10 > IDENT_13 = java . util . Collections . METHOD_4 ( IDENT_11 ) ; org . apache . ambari . server . controller . IDENT_14 IDENT_15 = METHOD_2 ( org . apache . ambari . server . controller . IDENT_14 . class ) ; org . apache . ambari . server . controller . IDENT_16 . METHOD_5 ( IDENT_5 , IDENT_2 , IDENT_15 ) ; expect ( IDENT_11 . METHOD_6 ( ) ) . andReturn ( STRING_0 ) . METHOD_7 ( ) ; expect ( IDENT_11 . METHOD_8 ( ) ) . andReturn ( 1L ) . METHOD_7 ( ) ; org . apache . ambari . server . controller . IDENT_17 IDENT_18 = new org . apache . ambari . server . controller . METHOD_9 ( ) ; final java . util . Map < java . lang . String , java . lang . String > IDENT_19 = com . google . common . collect . IDENT_20 . METHOD_10 ( ) ; IDENT_19 . put ( STRING_1 , null ) ; IDENT_18 . METHOD_11 ( IDENT_19 ) ; expect ( IDENT_11 . METHOD_12 ( ) ) . andReturn ( com . google . common . collect . ImmutableList . of ( IDENT_18 ) ) . METHOD_7 ( ) ; expect ( org . apache . ambari . server . controller . IDENT_16 . IDENT_21 . METHOD_13 ( 1L ) ) . andReturn ( cluster ) . METHOD_7 ( ) ; expect ( cluster . METHOD_6 ( ) ) . andReturn ( STRING_2 ) . METHOD_7 ( ) ; expect ( cluster . METHOD_14 ( METHOD_15 ( java . lang . String . class ) ) ) . andReturn ( com . google . common . collect . IDENT_20 . METHOD_10 ( ) ) . METHOD_7 ( ) ; expect ( config . getType ( ) ) . andReturn ( STRING_3 ) . METHOD_7 ( ) ; expect ( config . METHOD_16 ( ) ) . andReturn ( IDENT_19 ) . METHOD_7 ( ) ; expect ( config . METHOD_17 ( ) ) . andReturn ( new java . util . HashMap ( ) ) . METHOD_7 ( ) ; expect ( cluster . METHOD_18 ( METHOD_15 ( java . lang . String . class ) ) ) . andReturn ( config ) . METHOD_7 ( ) ; cluster . METHOD_19 ( org . easymock . EasyMock . METHOD_15 ( ) ) ; METHOD_20 ( ) . METHOD_21 ( ) ; cluster . METHOD_22 ( STRING_0 ) ; METHOD_20 ( ) ; replay ( IDENT_9 , cluster , org . apache . ambari . server . controller . IDENT_16 . IDENT_21 , config , IDENT_5 , IDENT_11 , org . apache . ambari . server . controller . IDENT_16 . IDENT_22 ) ; org . apache . ambari . server . controller . IDENT_1 controller = new org . apache . ambari . server . controller . METHOD_23 ( IDENT_9 , org . apache . ambari . server . controller . IDENT_16 . IDENT_21 , IDENT_5 ) ; controller . METHOD_24 ( IDENT_13 , null ) ; "<AssertPlaceHolder>" ; verify ( IDENT_9 , cluster , org . apache . ambari . server . controller . IDENT_16 . IDENT_21 , config , IDENT_5 , IDENT_11 , org . apache . ambari . server . controller . IDENT_16 . IDENT_22 ) ; } getValue ( ) { java . lang . Object o = ( ( delegate ) == null ) ? null : delegate . getValue ( ) ; return o == null ? null : o . toString ( ) ; }
org . junit . Assert . assertSame ( controller , IDENT_2 . getValue ( ) )