METHOD_0 ( ) { final com . google . IDENT_0 . IDENT_1 < org . apache . ambari . server . ldap . domain . IDENT_2 > IDENT_3 = METHOD_1 ( com . google . IDENT_0 . IDENT_1 . class ) ; org . apache . ambari . server . ldap . domain . IDENT_2 configuration = METHOD_1 ( org . apache . ambari . server . ldap . domain . IDENT_2 . class ) ; expect ( IDENT_3 . get ( ) ) . andReturn ( configuration ) . METHOD_2 ( ) ; org . apache . ambari . server . security . authorization . IDENT_4 IDENT_5 = METHOD_1 ( org . apache . ambari . server . security . authorization . IDENT_4 . class ) ; java . lang . String IDENT_6 = STRING_0 ; java . lang . String IDENT_7 = STRING_1 ; replay ( IDENT_3 , configuration ) ; org . apache . ambari . server . security . ldap . IDENT_8 . IDENT_9 IDENT_10 = new org . apache . ambari . server . security . ldap . IDENT_8 . METHOD_3 ( IDENT_3 , IDENT_5 ) ; java . lang . String result = IDENT_10 . METHOD_4 ( IDENT_7 , IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . String , java . lang . String ) { if ( ( org . apache . commons . lang . StringUtils . METHOD_5 ( IDENT_11 ) ) && ( org . apache . commons . lang . StringUtils . METHOD_5 ( pattern ) ) ) { try { java . util . regex . IDENT_12 p = java . util . regex . IDENT_12 . METHOD_6 ( pattern ) ; java . util . regex . IDENT_13 m = p . matcher ( IDENT_11 ) ; org . apache . ambari . server . security . ldap . IDENT_14 . LOG . debug ( STRING_2 , IDENT_11 , pattern ) ; if ( m . matches ( ) ) { IDENT_11 = m . replaceAll ( org . apache . ambari . server . security . ldap . IDENT_14 . IDENT_15 ) ; org . apache . ambari . server . security . ldap . IDENT_14 . LOG . debug ( STRING_3 , IDENT_11 ) ; } else { org . apache . ambari . server . security . ldap . IDENT_14 . LOG . warn ( STRING_4 , pattern , IDENT_11 ) ; } } catch ( java . lang . Exception e ) { org . apache . ambari . server . security . ldap . IDENT_14 . LOG . error ( STRING_5 , IDENT_11 , pattern ) ; } } return IDENT_11 ; }
org . junit . Assert . assertEquals ( IDENT_7 , result )