METHOD_0 ( ) { expect ( IDENT_0 . METHOD_1 ( STRING_0 ) ) . andReturn ( new org . apache . ambari . server . IDENT_1 . METHOD_2 ( STRING_1 ) ) . METHOD_3 ( ) ; expect ( IDENT_0 . METHOD_1 ( STRING_2 ) ) . andReturn ( new org . apache . ambari . server . IDENT_1 . METHOD_2 ( STRING_3 0 ) ) . METHOD_3 ( ) ; expect ( IDENT_0 . METHOD_1 ( STRING_4 ) ) . andReturn ( new org . apache . ambari . server . IDENT_1 . METHOD_2 ( STRING_3 0 ) ) . METHOD_3 ( ) ; final java . lang . String IDENT_2 = STRING_5 ; java . util . Map < java . lang . String , java . util . Map < java . lang . String , java . lang . String > > properties = new java . util . HashMap ( ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_3 = new java . util . HashMap ( ) ; properties . put ( IDENT_2 , IDENT_3 ) ; IDENT_3 . put ( STRING_3 1 , STRING_6 ) ; java . util . Map < java . lang . String , java . util . Map < java . lang . String , java . lang . String > > IDENT_4 = new java . util . HashMap ( ) ; org . apache . ambari . server . IDENT_1 . Configuration IDENT_5 = new org . apache . ambari . server . IDENT_1 . Configuration ( IDENT_4 , java . util . Collections . METHOD_4 ( ) ) ; org . apache . ambari . server . IDENT_1 . Configuration IDENT_6 = new org . apache . ambari . server . IDENT_1 . Configuration ( properties , java . util . Collections . METHOD_4 ( ) , IDENT_5 ) ; java . util . Collection < java . lang . String > IDENT_7 = new java . util . HashSet ( ) ; IDENT_7 . add ( STRING_0 ) ; IDENT_7 . add ( STRING_2 ) ; org . apache . ambari . server . controller . internal . IDENT_8 . IDENT_9 IDENT_10 = new org . apache . ambari . server . controller . internal . IDENT_8 . METHOD_5 ( STRING_3 , java . util . Collections . singletonList ( STRING_2 ) , java . util . Collections . METHOD_6 ( STRING_7 ) ) ; org . apache . ambari . server . controller . internal . IDENT_8 . METHOD_5 IDENT_11 = new org . apache . ambari . server . controller . internal . IDENT_8 . METHOD_5 ( STRING_8 , IDENT_7 , java . util . Collections . METHOD_6 ( STRING_9 ) ) ; java . util . Collection < org . apache . ambari . server . controller . internal . IDENT_8 . METHOD_5 > IDENT_12 = com . google . common . collect . Lists . newArrayList ( IDENT_10 , IDENT_11 ) ; org . apache . ambari . server . IDENT_1 . IDENT_13 IDENT_1 = METHOD_7 ( IDENT_14 , IDENT_6 , IDENT_12 ) ; org . apache . ambari . server . controller . internal . IDENT_15 IDENT_16 = new org . apache . ambari . server . controller . internal . METHOD_8 ( IDENT_1 ) ; IDENT_16 . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; } METHOD_10 ( java . util . Map , java . lang . String ) { if ( ( property == null ) || ( IDENT_17 == null ) ) { return null ; } java . lang . Object result = IDENT_17 ; try { for ( java . lang . String key : property . split ( "/" ) ) { result = ( ( java . util . Map ) ( result ) ) . get ( key ) ; } } catch ( java . lang . IDENT_18 e ) { java . lang . String msg = java . lang . String . format ( STRING_10 , property ) ; org . apache . ambari . server . controller . internal . IDENT_19 . LOG . error ( msg , e ) ; throw new org . apache . ambari . server . controller . spi . METHOD_11 ( msg , e ) ; } return result ; }
org . junit . Assert . assertEquals ( STRING_6 , IDENT_6 . METHOD_10 ( IDENT_2 , STRING_3 1 ) )