METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . util . List < java . lang . String > IDENT_1 = new java . util . ArrayList < java . lang . String > ( ) ; IDENT_1 . add ( STRING_1 ) ; IDENT_1 . add ( STRING_2 ) ; IDENT_1 . add ( STRING_3 ) ; IDENT_1 . add ( STRING_4 ) ; java . util . List < java . lang . String > result = com . baeldung . string . IDENT_2 . split ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } split ( java . lang . String ) { return java . util . stream . IDENT_3 . of ( str . split ( STRING_5 ) ) . map ( ( IDENT_4 ) -> new java . lang . String ( IDENT_4 ) ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; }
org . junit . Assert . assertEquals ( result , IDENT_1 )