METHOD_0 ( ) { org . apache . ambari . server . proxy . IDENT_0 IDENT_1 = new org . apache . ambari . server . proxy . METHOD_1 ( ) ; org . apache . ambari . server . controller . internal . IDENT_2 IDENT_3 = org . IDENT_4 . api . easymock . IDENT_5 . METHOD_2 ( org . apache . ambari . server . controller . internal . IDENT_2 . class ) ; java . net . IDENT_6 IDENT_7 = METHOD_3 ( java . net . IDENT_6 . class ) ; javax . ws . rs . core . Response . IDENT_8 IDENT_9 = org . IDENT_4 . api . easymock . IDENT_5 . METHOD_3 ( com . sun . jersey . core . spi . factory . IDENT_10 . class ) ; java . net . URI IDENT_11 = org . IDENT_4 . api . easymock . IDENT_5 . METHOD_3 ( java . net . URI . class ) ; javax . ws . rs . core . Response IDENT_12 = METHOD_3 ( com . sun . jersey . core . spi . factory . IDENT_13 . class ) ; java . io . InputStream IDENT_14 = new java . io . ByteArrayInputStream ( STRING_0 . getBytes ( ) ) ; javax . ws . rs . core . IDENT_15 < java . lang . String , java . lang . String > IDENT_16 = new com . sun . jersey . core . util . METHOD_4 ( ) ; javax . ws . rs . core . IDENT_15 < java . lang . String , java . lang . String > IDENT_17 = new com . sun . jersey . core . util . METHOD_4 ( ) ; java . util . Map < java . lang . String , java . util . List < java . lang . String > > IDENT_18 = new java . util . HashMap ( ) ; IDENT_17 . add ( STRING_1 , STRING_2 ) ; IDENT_17 . add ( STRING_3 , STRING_4 ) ; java . util . List < java . lang . String > IDENT_19 = new java . util . METHOD_5 ( ) ; IDENT_19 . add ( STRING_2 ) ; IDENT_18 . put ( STRING_5 , IDENT_19 ) ; org . IDENT_4 . api . easymock . IDENT_5 . METHOD_6 ( javax . ws . rs . core . Response . class ) ; expect ( METHOD_7 ( ) . METHOD_8 ( ) ) . andReturn ( IDENT_17 ) ; expect ( METHOD_7 ( ) . METHOD_9 ( STRING_1 ) ) . andReturn ( IDENT_19 ) ; expect ( METHOD_10 ( ) . METHOD_11 ( ) ) . andReturn ( IDENT_11 ) ; expect ( METHOD_10 ( ) . METHOD_12 ( ) ) . andReturn ( IDENT_16 ) ; expect ( IDENT_11 . METHOD_13 ( ) ) . andReturn ( STRING_6 ) ; expect ( IDENT_3 . METHOD_14 ( STRING_7 , STRING_8 , ( ( java . io . InputStream ) ( null ) ) , IDENT_18 ) ) . andReturn ( IDENT_7 ) ; expect ( IDENT_7 . METHOD_15 ( ) ) . andReturn ( INT_0 ) . times ( 2 ) ; expect ( IDENT_7 . METHOD_16 ( ) ) . andReturn ( STRING_9 ) ; expect ( IDENT_7 . METHOD_17 ( ) ) . andReturn ( IDENT_14 ) ; expect ( javax . ws . rs . core . Response . status ( INT_0 ) ) . andReturn ( IDENT_9 ) ; expect ( IDENT_9 . entity ( IDENT_14 ) ) . andReturn ( IDENT_9 ) ; expect ( IDENT_9 . type ( STRING_9 ) ) . andReturn ( IDENT_9 ) ; expect ( IDENT_9 . build ( ) ) . andReturn ( IDENT_12 ) ; org . IDENT_4 . api . easymock . IDENT_5 . METHOD_18 ( org . apache . ambari . server . controller . internal . IDENT_2 . class , INT_1 , INT_2 , null , null , null ) . andReturn ( IDENT_3 ) ; org . IDENT_4 . api . easymock . IDENT_5 . replay ( IDENT_3 , org . apache . ambari . server . controller . internal . IDENT_2 . class , IDENT_11 , java . net . URI . class , javax . ws . rs . core . Response . class , IDENT_9 ) ; replay ( METHOD_10 ( ) , IDENT_7 , METHOD_7 ( ) ) ; javax . ws . rs . core . Response IDENT_20 = IDENT_1 . METHOD_19 ( METHOD_7 ( ) , METHOD_10 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( ) { return IDENT_21 ; }
org . junit . Assert . assertSame ( IDENT_20 , IDENT_12 )