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