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