METHOD_0 ( ) { org . apache . ambari . server . controller . internal . IDENT_0 IDENT_1 = METHOD_1 ( org . apache . ambari . server . controller . internal . IDENT_0 . class ) ; java . net . IDENT_2 IDENT_3 = METHOD_1 ( java . net . IDENT_2 . class ) ; org . apache . ambari . view . IDENT_4 IDENT_5 = METHOD_1 ( org . apache . ambari . view . IDENT_4 . class ) ; java . util . Map < java . lang . String , java . lang . String > headers = new java . util . HashMap ( ) ; headers . put ( STRING_0 , STRING_1 ) ; java . util . Map < java . lang . String , java . util . List < java . lang . String > > IDENT_6 = new java . util . HashMap ( ) ; IDENT_6 . put ( STRING_0 , java . util . Collections . singletonList ( STRING_1 ) ) ; expect ( IDENT_1 . METHOD_2 ( eq ( STRING_2 ) , eq ( STRING_3 ) , METHOD_3 ( STRING_4 . getBytes ( ) ) , eq ( IDENT_6 ) ) ) . andReturn ( IDENT_3 ) ; replay ( IDENT_1 , IDENT_3 ) ; org . apache . ambari . server . view . IDENT_7 IDENT_8 = new org . apache . ambari . server . view . METHOD_4 ( IDENT_5 , IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_1 , IDENT_3 ) ; } METHOD_5 ( java . lang . String , java . lang . String , java . io . InputStream , java . util . Map ) { return METHOD_6 ( spec , IDENT_9 , headers , ( body == null ? null : org . apache . commons . io . IDENT_10 . toByteArray ( body ) ) ) ; }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_8 . METHOD_5 ( STRING_2 , STRING_3 , STRING_4 , headers ) )