METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . net . URI uri = new java . net . URI ( java . net . IDENT_1 . encode ( IDENT_0 , STRING_1 ) ) ; org . apache . ambari . server . api . IDENT_2 . IDENT_3 compiler = METHOD_1 ( org . apache . ambari . server . api . IDENT_2 . IDENT_3 . class ) ; javax . ws . rs . core . IDENT_4 IDENT_5 = METHOD_2 ( javax . ws . rs . core . IDENT_4 . class ) ; @ org . apache . ambari . server . api . services . METHOD_3 ( STRING_2 ) javax . ws . rs . core . IDENT_6 < java . lang . String , java . lang . String > IDENT_7 = METHOD_2 ( javax . ws . rs . core . IDENT_6 . class ) ; org . apache . ambari . server . api . IDENT_8 . IDENT_9 handler = METHOD_1 ( org . apache . ambari . server . api . IDENT_8 . IDENT_9 . class ) ; org . apache . ambari . server . api . services . Result result = METHOD_2 ( org . apache . ambari . server . api . services . Result . class ) ; org . apache . ambari . server . api . services . IDENT_10 IDENT_11 = METHOD_2 ( org . apache . ambari . server . api . services . IDENT_10 . class ) ; org . apache . ambari . server . api . services . IDENT_12 processor = METHOD_1 ( org . apache . ambari . server . api . services . IDENT_12 . class ) ; org . apache . ambari . server . api . services . IDENT_13 body = METHOD_4 ( org . apache . ambari . server . api . services . IDENT_13 . class ) ; org . apache . ambari . server . api . resources . IDENT_14 resource = METHOD_4 ( org . apache . ambari . server . api . resources . IDENT_14 . class ) ; org . apache . ambari . server . api . resources . IDENT_15 IDENT_16 = METHOD_4 ( org . apache . ambari . server . api . resources . IDENT_15 . class ) ; org . apache . ambari . server . api . query . render . IDENT_17 renderer = new org . apache . ambari . server . api . query . render . METHOD_5 ( ) ; org . apache . ambari . server . api . services . IDENT_18 request = METHOD_6 ( null , body , IDENT_5 , compiler , handler , processor , resource ) ; expect ( IDENT_5 . METHOD_7 ( ) ) . andReturn ( IDENT_7 ) . METHOD_8 ( ) ; expect ( IDENT_7 . METHOD_9 ( IDENT_19 . IDENT_20 ) ) . andReturn ( null ) ; expect ( IDENT_7 . METHOD_9 ( IDENT_19 . IDENT_21 ) ) . andReturn ( STRING_3 ) ; expect ( resource . METHOD_10 ( ) ) . andReturn ( IDENT_16 ) . METHOD_8 ( ) ; expect ( IDENT_16 . METHOD_11 ( STRING_3 ) ) . andReturn ( renderer ) ; expect ( IDENT_5 . METHOD_12 ( ) ) . andReturn ( uri ) . METHOD_8 ( ) ; expect ( handler . METHOD_13 ( request ) ) . andReturn ( result ) ; expect ( result . getStatus ( ) ) . andReturn ( IDENT_11 ) . METHOD_8 ( ) ; expect ( IDENT_11 . METHOD_14 ( ) ) . andReturn ( false ) . METHOD_8 ( ) ; processor . process ( result ) ; replay ( compiler , IDENT_5 , handler , IDENT_7 , resource , IDENT_16 , result , IDENT_11 , processor , body ) ; request . process ( ) ; verify ( compiler , IDENT_5 , handler , IDENT_7 , resource , IDENT_16 , result , IDENT_11 , processor , body ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return null ; }
org . junit . Assert . assertSame ( renderer , request . METHOD_11 ( ) )