METHOD_0 ( ) { java . lang . Integer [ ] collect = java . util . stream . IDENT_0 . of ( 1 , 2 , 3 ) . collect ( io . IDENT_1 . util . IDENT_2 . toArray ( io . IDENT_1 . util . Integer . class ) ) ; "<AssertPlaceHolder>" ; } toArray ( java . lang . Class ) { return java . util . stream . IDENT_3 . of ( ArrayList :: new , List :: add , ( IDENT_4 , IDENT_5 ) -> { IDENT_4 . addAll ( IDENT_5 ) ; return IDENT_4 ; } , ( a ) -> a . toArray ( ( ( io . IDENT_1 . util . T [ ] ) ( java . lang . reflect . IDENT_6 . newInstance ( type , a . size ( ) ) ) ) ) ) ; }
org . junit . Assert . assertArrayEquals ( new java . lang . Integer [ ] { 1 , 2 , 3 } , collect )