METHOD_0 ( ) { java . util . IDENT_0 < java . lang . String > list = new java . util . METHOD_1 ( ) ; list . addAll ( java . util . Arrays . asList ( "1" , "2" , STRING_0 , "a" , "b" ) ) ; list . METHOD_2 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } toArray ( T [ ] ) { if ( isEmpty ( ) ) { if ( ( a . length ) > 0 ) { a [ 0 ] = null ; } return a ; } int size = size ( ) ; if ( size > ( a . length ) ) { a = ( ( T [ ] ) ( java . lang . reflect . IDENT_1 . newInstance ( a . getClass ( ) . METHOD_3 ( ) , size ) ) ) ; } else if ( size < ( a . length ) ) { a [ size ] = null ; } if ( ( IDENT_2 ) < ( IDENT_3 ) ) { java . lang . System . METHOD_4 ( array , IDENT_2 , a , 0 , size ) ; } else { java . lang . System . METHOD_4 ( array , IDENT_2 , a , 0 , ( ( array . length ) - ( IDENT_2 ) ) ) ; java . lang . System . METHOD_4 ( array , 0 , a , ( ( array . length ) - ( IDENT_2 ) ) , IDENT_3 ) ; } return a ; }
org . junit . Assert . assertArrayEquals ( new java . lang . String [ ] { "1" , "2" , STRING_0 , "a" , "b" , STRING_1 } , list . toArray ( new java . lang . String [ 0 ] ) )