METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = new java . util . ArrayList < java . lang . String > ( ) ; IDENT_0 . add ( STRING_0 ) ; java . lang . String join = com . IDENT_1 . IDENT_2 . plugin . IDENT_3 . IDENT_4 . join ( IDENT_0 , STRING_1 ) ; "<AssertPlaceHolder>" ; } join ( java . util . Collection , java . lang . String ) { if ( collection == null ) { return null ; } final int size = collection . size ( ) ; if ( size == 0 ) { return "" ; } if ( size == 1 ) { final java . util . Iterator < java . lang . String > iterator = collection . iterator ( ) ; if ( iterator . hasNext ( ) ) { return iterator . next ( ) ; } else { throw new java . util . METHOD_1 ( ( STRING_2 + ( collection . size ( ) ) ) ) ; } } final int IDENT_5 = com . IDENT_1 . IDENT_2 . plugin . IDENT_3 . IDENT_4 . METHOD_2 ( collection , IDENT_6 ) ; final java . lang . StringBuilder builder = new java . lang . StringBuilder ( IDENT_5 ) ; final java . util . Iterator < java . lang . String > iterator = collection . iterator ( ) ; while ( iterator . hasNext ( ) ) { builder . append ( iterator . next ( ) ) ; if ( ! ( iterator . hasNext ( ) ) ) { break ; } builder . append ( IDENT_6 ) ; } return builder . toString ( ) ; }
org . junit . Assert . assertEquals ( join , STRING_0 )