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