METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 } ; java . lang . String [ ] IDENT_1 = new java . lang . String [ ] { STRING_2 , STRING_3 } ; java . lang . String [ ] result = java . util . stream . IDENT_2 . METHOD_1 ( org . baeldung . java . collections . Arrays . stream ( IDENT_0 ) , org . baeldung . java . collections . Arrays . stream ( IDENT_1 ) ) . toArray ( java . lang . String [ ] :: new ) ; "<AssertPlaceHolder>" ; } toArray ( T [ ] ) { if ( ( array . length ) < ( internal . length ) ) { return ( ( T [ ] ) ( java . util . Arrays . METHOD_2 ( internal , internal . length , array . getClass ( ) ) ) ) ; } java . lang . System . METHOD_3 ( internal , 0 , array , 0 , internal . length ) ; if ( ( array . length ) > ( internal . length ) ) { array [ internal . length ] = null ; } return array ; }
org . junit . Assert . assertArrayEquals ( result , new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 } )