METHOD_0 ( ) { org . apache . IDENT_0 . commons . testing . osgi . IDENT_1 IDENT_2 = new org . apache . IDENT_0 . commons . testing . osgi . METHOD_1 ( ( - 1 ) ) ; org . apache . IDENT_0 . commons . testing . osgi . IDENT_3 ctx = new org . apache . IDENT_0 . commons . testing . osgi . METHOD_2 ( IDENT_2 ) ; ctx . setProperty ( STRING_0 , new java . lang . String [ ] { STRING_1 } ) ; ctx . setProperty ( STRING_2 , STRING_3 ) ; ctx . setProperty ( STRING_4 , 2 ) ; com . IDENT_4 . IDENT_5 . commons . IDENT_6 . impl . IDENT_7 factory = new com . IDENT_4 . IDENT_5 . commons . IDENT_6 . impl . METHOD_3 ( ) ; factory . METHOD_4 ( ctx ) ; org . apache . IDENT_0 . IDENT_6 . IDENT_8 IDENT_9 = factory . METHOD_5 ( ) ; IDENT_9 . METHOD_6 ( handler ) ; org . xml . IDENT_10 . helpers . IDENT_11 in = new org . xml . IDENT_10 . helpers . METHOD_7 ( ) ; in . METHOD_8 ( null , STRING_5 , null , STRING_6 , STRING_7 ) ; IDENT_9 . METHOD_9 ( null , STRING_8 , null , in ) ; verify ( handler , METHOD_10 ( ) ) . METHOD_9 ( METHOD_11 ( java . lang . String . class ) , eq ( STRING_8 ) , METHOD_11 ( java . lang . String . class ) , IDENT_12 . METHOD_12 ( ) ) ; org . xml . IDENT_10 . IDENT_13 out = IDENT_12 . getValue ( ) ; "<AssertPlaceHolder>" ; } getValue ( java . lang . Object ) { org . apache . IDENT_0 . api . resource . IDENT_14 resource = ( ( org . apache . IDENT_0 . api . resource . IDENT_14 ) ( result ) ) ; com . IDENT_15 . IDENT_16 . IDENT_17 . IDENT_18 IDENT_19 = resource . METHOD_13 ( ) . METHOD_14 ( com . IDENT_15 . IDENT_16 . IDENT_17 . IDENT_18 . class ) ; com . IDENT_4 . IDENT_5 . commons . IDENT_20 . models . IDENT_21 . log . debug ( STRING_9 , resource . getPath ( ) , property ) ; java . util . List < java . lang . String > IDENT_22 = new java . util . ArrayList < java . lang . String > ( ) ; java . lang . String [ ] values = resource . METHOD_15 ( ) . get ( property , java . lang . String [ ] . class ) ; if ( values != null ) { for ( java . lang . String value : values ) { IDENT_22 . add ( IDENT_19 . resolve ( value ) . METHOD_16 ( ) ) ; } } com . IDENT_4 . IDENT_5 . commons . IDENT_20 . models . IDENT_21 . log . debug ( STRING_10 , IDENT_22 ) ; return org . apache . commons . lang3 . StringUtils . join ( IDENT_22 , STRING_11 ) ; }
org . junit . Assert . assertEquals ( STRING_7 , out . getValue ( 0 ) )