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