METHOD_0 ( ) { org . apache . ambari . server . state . cluster . IDENT_0 cluster = mock ( org . apache . ambari . server . state . cluster . IDENT_0 . class ) ; when ( cluster . METHOD_1 ( ) ) . thenReturn ( new org . apache . ambari . server . state . METHOD_2 ( STRING_0 ) ) ; org . apache . ambari . server . state . IDENT_1 IDENT_2 = mock ( org . apache . ambari . server . state . IDENT_1 . class ) ; when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( new org . apache . ambari . server . state . METHOD_2 ( STRING_0 ) ) ; org . apache . ambari . server . state . IDENT_1 IDENT_3 = mock ( org . apache . ambari . server . state . IDENT_1 . class ) ; when ( IDENT_3 . METHOD_3 ( ) ) . thenReturn ( new org . apache . ambari . server . state . METHOD_2 ( STRING_0 ) ) ; when ( cluster . METHOD_4 ( ) ) . thenReturn ( com . google . common . collect . ImmutableMap . < java . lang . String , org . apache . ambari . server . state . IDENT_1 > builder ( ) . put ( STRING_1 , IDENT_2 ) . put ( STRING_2 , IDENT_3 ) . build ( ) ) ; org . apache . ambari . server . metadata . IDENT_4 IDENT_5 = IDENT_6 . METHOD_5 ( cluster ) ; org . apache . ambari . server . IDENT_7 . IDENT_8 IDENT_9 = IDENT_10 . METHOD_6 ( IDENT_5 ) ; long now = java . lang . System . currentTimeMillis ( ) ; org . apache . ambari . server . IDENT_11 . IDENT_12 IDENT_13 = org . apache . ambari . server . utils . IDENT_14 . METHOD_7 ( 1 , 1 , STRING_3 , "" , "" ) ; IDENT_13 . METHOD_8 ( STRING_4 , IDENT_15 . IDENT_16 , IDENT_17 . IDENT_18 , new org . apache . ambari . server . state . IDENT_19 . METHOD_9 ( STRING_5 , STRING_4 , now ) , STRING_6 , STRING_1 , false , false ) ; IDENT_13 . METHOD_8 ( STRING_7 , IDENT_15 . IDENT_20 , IDENT_17 . IDENT_18 , new org . apache . ambari . server . state . IDENT_19 . METHOD_9 ( STRING_8 , STRING_7 , now ) , STRING_6 , STRING_2 , false , false ) ; org . apache . ambari . server . IDENT_7 . IDENT_21 . log . info ( IDENT_13 . toString ( ) ) ; IDENT_9 . build ( IDENT_13 ) ; org . apache . ambari . server . IDENT_7 . IDENT_21 . log . info ( IDENT_9 . METHOD_10 ( ) ) ; java . util . List < org . apache . ambari . server . IDENT_11 . IDENT_12 > IDENT_22 = IDENT_9 . METHOD_11 ( ) ; for ( org . apache . ambari . server . IDENT_11 . IDENT_12 s : IDENT_22 ) { org . apache . ambari . server . IDENT_7 . IDENT_21 . log . info ( s . toString ( ) ) ; } "<AssertPlaceHolder>" ; } size ( ) { java . util . Set < java . lang . String > nodes = new java . util . HashSet < java . lang . String > ( ) ; for ( org . apache . ambari . IDENT_23 . model . IDENT_24 . IDENT_25 entry : IDENT_26 ) { nodes . add ( entry . METHOD_12 ( ) ) ; nodes . addAll ( entry . METHOD_13 ( ) ) ; } return nodes . size ( ) ; }
org . junit . Assert . assertEquals ( 3 , IDENT_22 . size ( ) )