METHOD_0 ( ) { list . add ( 0 , "foo" ) ; list . add ( 1 , "bar" ) ; list . add ( 0 , STRING_0 ) ; java . util . List < java . lang . String > IDENT_0 = new java . util . ArrayList ( ) ; list . METHOD_1 ( ( item ) -> { IDENT_0 . add ( ( ( java . lang . String ) ( item ) ) ) ; } ) ; "<AssertPlaceHolder>" ; } toArray ( ) { return IDENT_1 . toArray ( ) ; }
org . junit . Assert . assertArrayEquals ( new java . lang . String [ ] { STRING_0 , "foo" , "bar" } , IDENT_0 . toArray ( ) )