METHOD_0 ( ) { java . util . List < java . lang . @ org . eclipse . IDENT_0 . annotation . IDENT_1 String > list = new java . util . ArrayList ( ) ; list . add ( "a" ) ; list . add ( "b" ) ; list . add ( STRING_0 ) ; list . add ( STRING_1 ) ; java . util . List < java . lang . @ org . eclipse . IDENT_0 . annotation . IDENT_2 String > out = org . eclipse . IDENT_3 . common . core . IDENT_4 . METHOD_1 ( list . stream ( ) ) . collect ( java . util . stream . IDENT_5 . toList ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . stream . IDENT_6 ) { if ( stream == null ) { throw new java . lang . METHOD_2 ( ) ; } return org . eclipse . IDENT_3 . common . core . IDENT_4 . METHOD_3 ( stream . < @ org . eclipse . IDENT_0 . annotation . IDENT_2 T > map ( ( t ) -> METHOD_3 ( t ) ) ) ; }
org . junit . Assert . assertEquals ( list , out )