METHOD_0 ( ) { org . apache . ambari . server . view . IDENT_0 registry = org . apache . ambari . server . view . IDENT_0 . getInstance ( ) ; java . util . Properties properties = new java . util . Properties ( ) ; properties . put ( STRING_0 , STRING_1 ) ; org . apache . ambari . server . configuration . Configuration IDENT_1 = new org . apache . ambari . server . configuration . Configuration ( properties ) ; org . apache . ambari . view . validation . IDENT_2 validator = METHOD_1 ( org . apache . ambari . view . validation . IDENT_2 . class ) ; org . apache . ambari . view . validation . IDENT_3 result = METHOD_1 ( org . apache . ambari . view . validation . IDENT_3 . class ) ; org . apache . ambari . server . view . configuration . IDENT_4 config = org . apache . ambari . server . view . configuration . IDENT_5 . METHOD_2 ( org . apache . ambari . server . view . IDENT_6 . IDENT_7 ) ; org . apache . ambari . server . IDENT_8 . entities . IDENT_9 IDENT_10 = org . apache . ambari . server . view . IDENT_6 . METHOD_3 ( config , IDENT_1 , getClass ( ) . METHOD_4 ( ) , "" ) ; IDENT_10 . METHOD_5 ( validator ) ; org . apache . ambari . server . IDENT_8 . entities . IDENT_11 IDENT_12 = org . apache . ambari . server . view . IDENT_6 . METHOD_6 ( IDENT_10 , config . METHOD_7 ( ) . get ( 0 ) ) ; expect ( validator . METHOD_8 ( IDENT_12 , IDENT_2 . IDENT_13 . IDENT_14 ) ) . andReturn ( result ) . METHOD_9 ( ) ; expect ( result . isValid ( ) ) . andReturn ( false ) . METHOD_9 ( ) ; replay ( org . apache . ambari . server . view . IDENT_6 . IDENT_15 , org . apache . ambari . server . view . IDENT_6 . IDENT_16 , org . apache . ambari . server . view . IDENT_6 . IDENT_17 , org . apache . ambari . server . view . IDENT_6 . IDENT_18 , validator , result ) ; registry . METHOD_10 ( IDENT_10 ) ; try { registry . METHOD_11 ( IDENT_12 ) ; org . junit . Assert . fail ( STRING_2 ) ; } catch ( org . apache . ambari . server . view . validation . IDENT_19 e ) { } java . util . Collection < org . apache . ambari . server . IDENT_8 . entities . IDENT_11 > IDENT_20 = registry . METHOD_12 ( IDENT_10 ) ; "<AssertPlaceHolder>" ; verify ( org . apache . ambari . server . view . IDENT_6 . IDENT_15 , org . apache . ambari . server . view . IDENT_6 . IDENT_16 , org . apache . ambari . server . view . IDENT_6 . IDENT_17 , org . apache . ambari . server . view . IDENT_6 . IDENT_18 , validator , result ) ; } isEmpty ( ) { return ( this . IDENT_21 . isEmpty ( ) ) && ( IDENT_22 . isEmpty ( ) ) ; }
org . junit . Assert . assertTrue ( IDENT_20 . isEmpty ( ) )