METHOD_0 ( ) { METHOD_1 ( ) ; IDENT_0 . METHOD_2 ( STRING_0 , helper . METHOD_3 ( new org . apache . ambari . server . state . METHOD_4 ( STRING_1 , STRING_2 ) , STRING_2 ) ) ; org . apache . ambari . server . state . IDENT_1 IDENT_2 = IDENT_3 . METHOD_5 ( IDENT_0 , STRING_1 1 , STRING_3 , com . google . common . collect . ImmutableMap . of ( STRING_1 3 , STRING_4 ) , com . google . common . collect . ImmutableMap . of ( ) ) ; org . apache . ambari . server . controller . IDENT_4 IDENT_5 = IDENT_0 . METHOD_6 ( STRING_5 , java . util . Collections . METHOD_7 ( IDENT_2 ) ) ; java . util . List < org . apache . ambari . server . controller . IDENT_6 > IDENT_7 = java . util . Collections . singletonList ( new org . apache . ambari . server . controller . METHOD_8 ( IDENT_0 . METHOD_9 ( ) , IDENT_2 . METHOD_10 ( ) , IDENT_2 . getType ( ) , IDENT_2 . METHOD_11 ( ) , IDENT_2 . METHOD_12 ( ) , IDENT_2 . METHOD_13 ( ) , IDENT_2 . METHOD_14 ( ) , IDENT_2 . METHOD_15 ( ) ) ) ; IDENT_5 . METHOD_16 ( IDENT_7 ) ; org . apache . ambari . server . state . IDENT_1 IDENT_8 = IDENT_3 . METHOD_5 ( IDENT_0 , STRING_1 1 , STRING_6 , com . google . common . collect . ImmutableMap . of ( STRING_1 3 , STRING_7 ) , com . google . common . collect . ImmutableMap . of ( ) ) ; org . apache . ambari . server . state . IDENT_9 . IDENT_10 IDENT_11 = IDENT_12 . METHOD_5 ( IDENT_0 , STRING_0 , STRING_8 , STRING_3 , STRING_1 2 , com . google . common . collect . ImmutableMap . of ( IDENT_8 . getType ( ) , IDENT_8 ) , com . google . common . collect . ImmutableMap . of ( ) ) ; IDENT_0 . METHOD_17 ( IDENT_11 ) ; org . apache . ambari . server . controller . IDENT_4 IDENT_13 = IDENT_0 . METHOD_18 ( STRING_0 , STRING_5 , STRING_1 0 , IDENT_11 ) ; IDENT_13 . METHOD_16 ( java . util . Collections . singletonList ( new org . apache . ambari . server . controller . METHOD_8 ( IDENT_0 . METHOD_9 ( ) , IDENT_8 . METHOD_10 ( ) , IDENT_8 . getType ( ) , IDENT_8 . METHOD_11 ( ) , IDENT_8 . METHOD_12 ( ) , IDENT_8 . METHOD_13 ( ) , IDENT_8 . METHOD_14 ( ) , IDENT_8 . METHOD_15 ( ) ) ) ) ; IDENT_13 . METHOD_19 ( true ) ; org . apache . ambari . server . controller . IDENT_4 IDENT_14 = IDENT_0 . METHOD_18 ( STRING_0 , STRING_5 , STRING_9 , null ) ; IDENT_14 . METHOD_16 ( IDENT_7 ) ; IDENT_14 . METHOD_19 ( true ) ; java . util . List < org . apache . ambari . server . controller . IDENT_4 > IDENT_15 = com . google . common . collect . ImmutableList . of ( IDENT_5 , IDENT_13 , IDENT_14 ) ; java . util . List < org . apache . ambari . server . controller . IDENT_4 > IDENT_16 = IDENT_0 . METHOD_20 ( ) ; java . util . Collections . METHOD_21 ( IDENT_16 , new java . util . IDENT_17 < org . apache . ambari . server . controller . IDENT_4 > ( ) { @ org . apache . ambari . server . state . cluster . Override public int compare ( org . apache . ambari . server . controller . IDENT_4 IDENT_18 , org . apache . ambari . server . controller . IDENT_4 IDENT_19 ) { return IDENT_18 . METHOD_12 ( ) . compareTo ( IDENT_19 . METHOD_12 ( ) ) ; } } ) ; "<AssertPlaceHolder>" ; } METHOD_12 ( ) { return version ; }
org . junit . Assert . assertThat ( IDENT_16 , org . hamcrest . CoreMatchers . is ( IDENT_15 ) )