METHOD_0 ( ) { org . apache . ambari . server . controller . IDENT_0 . IDENT_1 service = METHOD_1 ( org . apache . ambari . server . controller . IDENT_0 . IDENT_1 . class ) ; java . util . Set < java . util . Map < java . lang . String , java . lang . Object > > IDENT_2 = new java . util . HashSet ( ) ; java . util . Map < java . lang . String , java . lang . Object > properties = new java . util . HashMap ( ) ; java . util . List < java . lang . String > IDENT_3 = new java . util . METHOD_2 ( ) ; IDENT_3 . add ( STRING_0 ) ; IDENT_3 . add ( STRING_1 ) ; IDENT_3 . add ( STRING_2 1 ) ; java . util . Map < java . lang . String , java . lang . String > props = new java . util . HashMap ( ) ; org . apache . ambari . server . controller . IDENT_0 . IDENT_4 IDENT_5 = new org . apache . ambari . server . controller . IDENT_0 . METHOD_3 ( STRING_0 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , "a" , STRING_2 0 , STRING_6 , STRING_7 , STRING_8 , "a" , props ) ; org . apache . ambari . server . controller . IDENT_0 . METHOD_3 IDENT_6 = new org . apache . ambari . server . controller . IDENT_0 . METHOD_3 ( STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , "a" , STRING_2 0 , STRING_6 , STRING_7 , STRING_8 , "a" , props ) ; org . apache . ambari . server . controller . IDENT_0 . METHOD_3 IDENT_7 = new org . apache . ambari . server . controller . IDENT_0 . METHOD_3 ( STRING_2 1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , "a" , STRING_2 0 , STRING_6 , STRING_7 , STRING_8 , "a" , props ) ; expect ( service . METHOD_4 ( ) ) . andReturn ( IDENT_3 ) ; expect ( service . METHOD_5 ( STRING_0 ) ) . andReturn ( IDENT_5 ) ; expect ( service . METHOD_5 ( STRING_1 ) ) . andReturn ( IDENT_6 ) ; expect ( service . METHOD_5 ( STRING_2 1 ) ) . andReturn ( IDENT_7 ) ; replay ( service ) ; IDENT_2 . add ( properties ) ; org . apache . ambari . server . controller . spi . IDENT_8 request = org . apache . ambari . server . controller . IDENT_9 . IDENT_10 . METHOD_6 ( IDENT_2 , java . util . Collections . METHOD_7 ( ) ) ; org . apache . ambari . server . controller . internal . IDENT_11 provider = new org . apache . ambari . server . controller . internal . METHOD_8 ( service ) ; java . util . Set < org . apache . ambari . server . controller . spi . IDENT_12 > resources = provider . METHOD_9 ( request , null ) ; "<AssertPlaceHolder>" ; verify ( service ) ; } size ( ) { java . util . Set < java . lang . String > nodes = new java . util . HashSet < java . lang . String > ( ) ; for ( org . apache . ambari . IDENT_13 . model . IDENT_14 . IDENT_15 entry : IDENT_16 ) { nodes . add ( entry . METHOD_10 ( ) ) ; nodes . addAll ( entry . METHOD_11 ( ) ) ; } return nodes . size ( ) ; }
org . junit . Assert . assertEquals ( 3 , resources . size ( ) )