METHOD_0 ( ) { org . apache . hadoop . hive . conf . IDENT_0 conf = new org . apache . hadoop . hive . conf . METHOD_1 ( ) ; conf . METHOD_2 ( METHOD_1 . IDENT_1 . IDENT_2 , STRING_0 ) ; java . util . List < java . lang . String > expected = java . util . Arrays . asList ( STRING_1 ) ; java . util . List < java . lang . String > actual = org . apache . hive . service . auth . ldap . IDENT_3 . METHOD_3 ( conf , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . hadoop . hive . conf . METHOD_1 , java . lang . String ) { if ( ( org . apache . hive . service . auth . ldap . IDENT_3 . METHOD_4 ( user ) ) || ( org . apache . hive . service . auth . ldap . IDENT_3 . METHOD_5 ( user ) ) ) { return java . util . Collections . singletonList ( user ) ; } java . lang . String IDENT_4 = conf . METHOD_6 ( METHOD_1 . IDENT_1 . IDENT_2 ) ; if ( org . apache . commons . lang . StringUtils . METHOD_7 ( IDENT_4 ) ) { return java . util . Collections . singletonList ( ( ( user + STRING_3 ) + IDENT_4 ) ) ; } java . util . List < java . lang . String > IDENT_5 = org . apache . hive . service . auth . ldap . IDENT_3 . METHOD_8 ( conf , METHOD_1 . IDENT_1 . IDENT_6 ) ; if ( IDENT_5 . isEmpty ( ) ) { return java . util . Collections . singletonList ( user ) ; } java . util . List < java . lang . String > IDENT_7 = new java . util . ArrayList ( ) ; for ( java . lang . String IDENT_8 : IDENT_5 ) { IDENT_7 . add ( IDENT_8 . replaceAll ( STRING_4 , user ) ) ; } return IDENT_7 ; }
org . junit . Assert . assertEquals ( expected , actual )