METHOD_0 ( ) { org . apache . ambari . server . api . resources . IDENT_0 IDENT_1 = new org . apache . ambari . server . api . resources . METHOD_1 ( ) ; org . apache . ambari . server . controller . spi . IDENT_2 IDENT_3 = METHOD_2 ( org . apache . ambari . server . controller . spi . IDENT_2 . class ) ; org . apache . ambari . server . controller . spi . IDENT_4 IDENT_5 = METHOD_2 ( org . apache . ambari . server . controller . spi . IDENT_4 . class ) ; org . apache . ambari . server . controller . spi . Schema schema = METHOD_2 ( org . apache . ambari . server . controller . spi . Schema . class ) ; org . apache . ambari . server . api . query . render . IDENT_6 renderer = METHOD_2 ( org . apache . ambari . server . api . query . render . IDENT_6 . class ) ; java . lang . IDENT_7 < org . apache . ambari . server . controller . spi . IDENT_8 > IDENT_9 = METHOD_2 ( org . apache . ambari . server . api . query . IDENT_7 . class ) ; java . util . Iterator < org . apache . ambari . server . controller . spi . IDENT_8 > iterator = METHOD_2 ( java . util . Iterator . class ) ; expect ( IDENT_3 . METHOD_3 ( IDENT_8 . Type . IDENT_10 ) ) . andReturn ( schema ) . METHOD_4 ( ) ; expect ( IDENT_3 . METHOD_5 ( eq ( IDENT_8 . Type . IDENT_10 ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_11 . class ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_12 . class ) ) ) . andReturn ( IDENT_5 ) ; expect ( IDENT_3 . METHOD_7 ( eq ( IDENT_8 . Type . IDENT_10 ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_4 . class ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_11 . class ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_12 . class ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_13 . class ) , METHOD_6 ( org . apache . ambari . server . controller . spi . IDENT_14 . class ) ) ) . andReturn ( IDENT_9 ) . METHOD_4 ( ) ; expect ( IDENT_9 . iterator ( ) ) . andReturn ( iterator ) . METHOD_4 ( ) ; expect ( iterator . hasNext ( ) ) . andReturn ( false ) . METHOD_4 ( ) ; expect ( IDENT_5 . METHOD_5 ( ) ) . andReturn ( java . util . Collections . METHOD_8 ( ) ) . METHOD_4 ( ) ; expect ( schema . METHOD_9 ( IDENT_8 . Type . IDENT_10 ) ) . andReturn ( STRING_0 ) . METHOD_4 ( ) ; org . apache . ambari . server . api . util . IDENT_15 < java . util . Set < java . lang . String > > IDENT_16 = new org . apache . ambari . server . api . util . METHOD_10 ( null , java . util . Collections . < java . lang . String > METHOD_8 ( ) , null ) ; expect ( renderer . METHOD_11 ( org . easymock . EasyMock . METHOD_6 ( ) , METHOD_12 ( ) ) ) . andReturn ( IDENT_16 ) . METHOD_4 ( ) ; org . easymock . IDENT_17 < org . apache . ambari . server . api . services . Result > IDENT_18 = org . easymock . EasyMock . METHOD_13 ( ) ; expect ( renderer . METHOD_14 ( METHOD_15 ( IDENT_18 ) ) ) . andReturn ( null ) ; replay ( IDENT_3 , IDENT_5 , schema , renderer , IDENT_9 , iterator ) ; org . apache . ambari . server . api . query . IDENT_19 query = new org . apache . ambari . server . api . query . IDENT_20 . METHOD_16 ( new java . util . HashMap ( ) , IDENT_1 , IDENT_3 ) ; query . METHOD_17 ( renderer ) ; query . execute ( ) ; org . apache . ambari . server . api . util . IDENT_15 < org . apache . ambari . server . controller . spi . IDENT_8 > tree = IDENT_18 . getValue ( ) . METHOD_18 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 , IDENT_5 , schema , renderer , IDENT_9 , iterator ) ; } METHOD_19 ( ) { return IDENT_21 ; }
org . junit . Assert . assertEquals ( 0 , tree . METHOD_19 ( ) . size ( ) )