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 . controller . IDENT_12 IDENT_13 = METHOD_3 ( org . apache . ambari . server . controller . IDENT_12 . class ) ; java . util . Set < org . apache . ambari . server . controller . IDENT_10 > IDENT_14 = new java . util . HashSet ( ) ; IDENT_14 . add ( IDENT_11 ) ; java . util . List < org . apache . ambari . server . controller . IDENT_12 > IDENT_15 = new java . util . ArrayList ( ) ; IDENT_15 . add ( IDENT_13 ) ; org . apache . ambari . server . controller . IDENT_16 IDENT_17 = METHOD_2 ( org . apache . ambari . server . controller . IDENT_16 . class ) ; com . google . IDENT_3 . IDENT_18 < org . apache . ambari . server . IDENT_19 . IDENT_20 . IDENT_21 > IDENT_22 = METHOD_4 ( com . google . IDENT_3 . IDENT_18 . class ) ; org . apache . ambari . server . IDENT_19 . IDENT_20 . IDENT_21 IDENT_23 = METHOD_4 ( org . apache . ambari . server . IDENT_19 . IDENT_20 . IDENT_21 . class ) ; com . google . IDENT_3 . IDENT_18 < org . apache . ambari . server . IDENT_19 . IDENT_20 . IDENT_24 > IDENT_25 = METHOD_4 ( com . google . IDENT_3 . IDENT_18 . class ) ; org . apache . ambari . server . IDENT_19 . IDENT_20 . IDENT_24 IDENT_26 = METHOD_5 ( org . apache . ambari . server . IDENT_19 . IDENT_20 . IDENT_24 . class ) . METHOD_6 ( STRING_0 ) . METHOD_4 ( ) ; org . apache . ambari . server . controller . IDENT_27 . METHOD_7 ( IDENT_5 , IDENT_2 , null , null , IDENT_17 , IDENT_22 , IDENT_25 ) ; expect ( IDENT_22 . get ( ) ) . andReturn ( IDENT_23 ) . METHOD_8 ( ) ; expect ( IDENT_23 . METHOD_9 ( METHOD_10 ( ) ) ) . andReturn ( true ) . METHOD_8 ( ) ; expect ( IDENT_25 . get ( ) ) . andReturn ( IDENT_26 ) . METHOD_8 ( ) ; IDENT_26 . METHOD_9 ( METHOD_11 ( ) , METHOD_10 ( java . util . List . class ) ) ; METHOD_12 ( ) . METHOD_8 ( ) ; expect ( IDENT_11 . METHOD_13 ( ) ) . andReturn ( STRING_1 ) . times ( 5 ) ; expect ( IDENT_11 . METHOD_14 ( ) ) . andReturn ( 1L ) . times ( 4 ) ; expect ( IDENT_11 . METHOD_15 ( ) ) . andReturn ( IDENT_15 ) ; expect ( IDENT_13 . METHOD_16 ( ) ) . andReturn ( null ) . times ( 1 ) ; expect ( org . apache . ambari . server . controller . IDENT_27 . IDENT_28 . METHOD_17 ( 1L ) ) . andReturn ( cluster ) . times ( 1 ) ; expect ( cluster . METHOD_13 ( ) ) . andReturn ( STRING_2 ) . times ( 1 ) ; cluster . METHOD_18 ( STRING_1 ) ; METHOD_12 ( ) ; IDENT_13 . METHOD_19 ( org . easymock . EasyMock . METHOD_10 ( java . lang . String . class ) ) ; METHOD_12 ( ) ; replay ( IDENT_9 , cluster , org . apache . ambari . server . controller . IDENT_27 . IDENT_28 , IDENT_5 , IDENT_11 , org . apache . ambari . server . controller . IDENT_27 . IDENT_29 , IDENT_13 , IDENT_22 , IDENT_23 , IDENT_25 , IDENT_26 ) ; org . apache . ambari . server . controller . IDENT_1 controller = METHOD_20 ( org . apache . ambari . server . controller . IDENT_30 . class ) . METHOD_21 ( IDENT_9 , org . apache . ambari . server . controller . IDENT_27 . IDENT_28 , IDENT_5 ) . METHOD_6 ( STRING_3 ) . METHOD_4 ( ) ; controller . METHOD_22 ( IDENT_14 , null ) ; "<AssertPlaceHolder>" ; verify ( IDENT_9 , cluster , org . apache . ambari . server . controller . IDENT_27 . IDENT_28 , IDENT_5 , IDENT_11 , org . apache . ambari . server . controller . IDENT_27 . IDENT_29 , IDENT_13 , IDENT_22 , IDENT_23 , IDENT_25 , IDENT_26 ) ; } getValue ( ) { java . lang . Object o = ( ( delegate ) == null ) ? null : delegate . getValue ( ) ; return o == null ? null : o . toString ( ) ; }
org . junit . Assert . assertSame ( controller , IDENT_2 . getValue ( ) )