METHOD_0 ( ) { org . apache . IDENT_0 . data . IDENT_1 IDENT_2 = org . apache . IDENT_0 . data . IDENT_1 . getInstance ( ) ; org . apache . IDENT_0 . data . IDENT_3 IDENT_4 = new org . apache . IDENT_0 . data . METHOD_1 ( ) ; IDENT_4 . add ( IDENT_2 . METHOD_2 ( java . util . Arrays . asList ( STRING_0 ) ) ) ; IDENT_4 . add ( IDENT_2 . METHOD_2 ( java . util . Arrays . asList ( STRING_1 ) ) ) ; IDENT_4 . add ( IDENT_2 . METHOD_2 ( java . util . Arrays . asList ( STRING_2 ) ) ) ; IDENT_4 . add ( IDENT_2 . METHOD_2 ( java . util . Arrays . asList ( STRING_3 ) ) ) ; IDENT_4 . add ( IDENT_2 . METHOD_2 ( java . util . Arrays . asList ( STRING_4 ) ) ) ; org . apache . IDENT_0 . data . IDENT_5 input = IDENT_2 . METHOD_2 ( java . util . Arrays . asList ( IDENT_4 ) ) ; java . lang . String IDENT_6 = IDENT_7 . exec ( input ) ; java . lang . String expected = STRING_5 ; "<AssertPlaceHolder>" ; } exec ( org . apache . IDENT_0 . data . IDENT_5 ) { try { if ( input == null ) { return "" ; } java . lang . Object IDENT_8 = input . get ( 0 ) ; java . lang . String text = "" ; if ( IDENT_8 instanceof java . lang . String ) { text = ( ( java . lang . String ) ( IDENT_8 ) ) ; } else if ( IDENT_8 instanceof org . apache . IDENT_0 . data . IDENT_9 ) { java . util . Set < java . lang . String > IDENT_10 = new java . util . HashSet < java . lang . String > ( ) ; org . apache . IDENT_0 . data . IDENT_9 IDENT_4 = ( ( org . apache . IDENT_0 . data . IDENT_9 ) ( IDENT_8 ) ) ; if ( ( IDENT_4 . size ( ) ) == 0 ) { return text ; } java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; java . util . Iterator < org . apache . IDENT_0 . data . IDENT_5 > it = IDENT_4 . iterator ( ) ; while ( it . hasNext ( ) ) { java . lang . String IDENT_11 = ( ( java . lang . String ) ( it . next ( ) . get ( 0 ) ) ) ; if ( IDENT_11 == null ) { continue ; } if ( trim ) { IDENT_11 = IDENT_11 . trim ( ) ; } if ( ! ( IDENT_11 . isEmpty ( ) ) ) { if ( IDENT_10 . contains ( IDENT_11 ) ) { continue ; } else { IDENT_10 . add ( IDENT_11 ) ; } if ( ( sb . length ( ) ) > 0 ) { sb . append ( IDENT_12 ) ; } sb . append ( IDENT_11 ) ; } } text = sb . toString ( ) ; } else { throw new org . apache . IDENT_0 . backend . IDENT_13 . METHOD_3 ( java . lang . String . format ( ( STRING_6 + STRING_7 ) , IDENT_8 ) ) ; } return text ; } catch ( org . apache . IDENT_0 . backend . IDENT_13 . METHOD_3 IDENT_14 ) { throw IDENT_14 ; } catch ( java . lang . Exception e ) { int IDENT_15 = INT_0 ; java . lang . String msg = STRING_8 + ( this . getClass ( ) . METHOD_4 ( ) ) ; throw new org . apache . IDENT_0 . backend . IDENT_13 . METHOD_3 ( msg , IDENT_15 , org . apache . IDENT_0 . IDENT_16 . IDENT_17 , e ) ; } }
org . junit . Assert . assertEquals ( expected , IDENT_6 )