METHOD_0 ( ) { org . apache . ambari . server . state . IDENT_0 info = METHOD_1 ( org . apache . ambari . server . state . IDENT_0 . class ) ; expect ( info . METHOD_2 ( STRING_0 ) ) . andReturn ( new java . util . HashMap ( ) ) . METHOD_3 ( ) ; expect ( org . apache . ambari . server . controller . internal . IDENT_1 . IDENT_2 . METHOD_4 ( STRING_1 , STRING_2 ) ) . andReturn ( info ) . METHOD_3 ( ) ; replay ( info , org . apache . ambari . server . controller . internal . IDENT_1 . IDENT_2 ) ; org . apache . ambari . server . controller . spi . IDENT_3 request = METHOD_5 ( org . apache . ambari . server . controller . spi . IDENT_3 . class ) ; java . util . Set < java . util . Map < java . lang . String , java . lang . Object > > IDENT_4 = org . apache . ambari . server . controller . internal . IDENT_1 . METHOD_6 ( ) ; org . apache . ambari . server . controller . internal . IDENT_1 . METHOD_7 ( IDENT_4 ) ; org . apache . ambari . server . IDENT_5 . entities . IDENT_6 entity = METHOD_8 ( IDENT_4 . iterator ( ) . next ( ) ) ; java . util . List < org . apache . ambari . server . IDENT_5 . entities . IDENT_6 > results = new java . util . ArrayList ( ) ; results . add ( entity ) ; expect ( org . apache . ambari . server . controller . internal . IDENT_1 . IDENT_7 . METHOD_9 ( ) ) . andReturn ( results ) ; replay ( org . apache . ambari . server . controller . internal . IDENT_1 . IDENT_7 , request ) ; java . util . Set < org . apache . ambari . server . controller . spi . IDENT_8 > IDENT_9 = org . apache . ambari . server . controller . internal . IDENT_1 . provider . METHOD_10 ( request , null ) ; "<AssertPlaceHolder>" ; verify ( org . apache . ambari . server . controller . internal . IDENT_1 . IDENT_7 ) ; METHOD_11 ( IDENT_9 . iterator ( ) . next ( ) , true ) ; } size ( ) { java . util . Set < java . lang . String > nodes = new java . util . HashSet < java . lang . String > ( ) ; for ( org . apache . ambari . IDENT_10 . model . IDENT_11 . IDENT_12 entry : IDENT_13 ) { nodes . add ( entry . METHOD_12 ( ) ) ; nodes . addAll ( entry . METHOD_13 ( ) ) ; } return nodes . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_9 . size ( ) )