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 . METHOD_5 ( IDENT_5 , IDENT_2 , METHOD_3 ( org . apache . ambari . server . controller . IDENT_14 . class ) ) ; expect ( IDENT_11 . METHOD_6 ( ) ) . andReturn ( STRING_0 ) . times ( 5 ) ; expect ( IDENT_11 . METHOD_7 ( ) ) . andReturn ( 1L ) . times ( 4 ) ; expect ( org . apache . ambari . server . controller . IDENT_13 . IDENT_15 . METHOD_8 ( 1L ) ) . andReturn ( cluster ) . times ( 1 ) ; expect ( cluster . METHOD_6 ( ) ) . andReturn ( STRING_1 ) . times ( 1 ) ; cluster . METHOD_9 ( STRING_0 ) ; METHOD_10 ( ) . METHOD_11 ( new javax . persistence . METHOD_12 ( ) ) ; replay ( IDENT_9 , cluster , org . apache . ambari . server . controller . IDENT_13 . IDENT_15 , IDENT_5 , IDENT_11 , org . apache . ambari . server . controller . IDENT_13 . IDENT_16 ) ; org . apache . ambari . server . controller . IDENT_1 controller = new org . apache . ambari . server . controller . METHOD_13 ( IDENT_9 , org . apache . ambari . server . controller . IDENT_13 . IDENT_15 , IDENT_5 ) ; try { controller . METHOD_14 ( IDENT_12 , null ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( javax . persistence . METHOD_12 e ) { } "<AssertPlaceHolder>" ; verify ( IDENT_9 , cluster , org . apache . ambari . server . controller . IDENT_13 . IDENT_15 , IDENT_5 , IDENT_11 , org . apache . ambari . server . controller . IDENT_13 . IDENT_16 ) ; } getValue ( ) { java . lang . Object o = ( ( delegate ) == null ) ? null : delegate . getValue ( ) ; return o == null ? null : o . toString ( ) ; }
org . junit . Assert . assertSame ( controller , IDENT_2 . getValue ( ) )