METHOD_0 ( ) { org . apache . ambari . server . state . IDENT_0 IDENT_1 = new org . apache . ambari . server . state . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( STRING_0 ) ; IDENT_1 . METHOD_3 ( 1L ) ; org . apache . ambari . server . state . METHOD_1 IDENT_2 = new org . apache . ambari . server . state . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_1 ) ; IDENT_2 . METHOD_3 ( 1L ) ; java . util . Map < java . lang . String , java . util . Set < org . apache . ambari . server . state . METHOD_1 > > IDENT_3 = com . google . common . collect . ImmutableMap . < java . lang . String , java . util . Set < org . apache . ambari . server . state . METHOD_1 > > builder ( ) . put ( STRING_2 , com . google . common . collect . IDENT_4 . of ( IDENT_1 ) ) . put ( STRING_3 , com . google . common . collect . IDENT_4 . of ( IDENT_2 ) ) . build ( ) ; expect ( org . apache . ambari . server . IDENT_5 . IDENT_6 . cluster . METHOD_4 ( ) ) . andReturn ( IDENT_3 ) . METHOD_5 ( ) ; METHOD_6 ( ) ; boolean IDENT_7 = org . apache . ambari . server . IDENT_5 . IDENT_6 . context . METHOD_7 ( org . apache . ambari . server . IDENT_5 . IDENT_6 . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( long ) { boolean METHOD_7 = false ; try { org . apache . ambari . server . state . IDENT_9 cluster = org . apache . ambari . server . IDENT_5 . IDENT_10 . METHOD_8 ( ) . METHOD_9 ( ) . METHOD_10 ( IDENT_11 ) ; java . util . Map < java . lang . String , java . util . Set < org . apache . ambari . server . state . METHOD_1 > > IDENT_12 = cluster . METHOD_4 ( ) ; for ( java . lang . String IDENT_13 : IDENT_12 . METHOD_11 ( ) ) { java . util . Set < org . apache . ambari . server . state . METHOD_1 > IDENT_14 = IDENT_12 . get ( IDENT_13 ) ; java . util . IDENT_15 < org . apache . ambari . server . state . METHOD_1 > IDENT_16 = new java . util . METHOD_12 ( new java . util . IDENT_17 < org . apache . ambari . server . state . METHOD_1 > ( ) { @ org . apache . ambari . server . IDENT_5 . Override public int compare ( org . apache . ambari . server . state . METHOD_1 IDENT_18 , org . apache . ambari . server . state . METHOD_1 IDENT_19 ) { if ( ( IDENT_18 . METHOD_13 ( ) ) < ( IDENT_19 . METHOD_13 ( ) ) ) { return - 1 ; } if ( ( IDENT_18 . METHOD_13 ( ) ) > ( IDENT_19 . METHOD_13 ( ) ) ) { return 1 ; } return 0 ; } } ) ; IDENT_16 . addAll ( IDENT_14 ) ; int IDENT_20 = 0 ; for ( org . apache . ambari . server . state . METHOD_1 config : IDENT_16 ) { if ( ( config . METHOD_14 ( ) . equals ( IDENT_21 . IDENT_22 ) ) && ( IDENT_20 == 0 ) ) { IDENT_20 = 1 ; } else if ( ( config . METHOD_14 ( ) . equals ( IDENT_21 . IDENT_23 ) ) && ( IDENT_20 == 1 ) ) { IDENT_20 = 2 ; break ; } } if ( IDENT_20 == 2 ) { METHOD_7 = true ; break ; } } } catch ( org . apache . ambari . server . IDENT_24 e ) { org . apache . ambari . server . IDENT_5 . IDENT_10 . LOG . info ( STRING_4 , IDENT_11 ) ; } catch ( org . apache . ambari . server . IDENT_25 e ) { throw new java . lang . RuntimeException ( ( STRING_5 + e ) , e ) ; } return METHOD_7 ; }
org . junit . Assert . assertFalse ( IDENT_7 )