METHOD_0 ( ) { java . lang . String [ ] actual = IDENT_0 . METHOD_1 ( STRING_0 ) ; java . lang . String [ ] expected = new java . lang . String [ ] { STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 } ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( query == null ) { throw new java . lang . IllegalArgumentException ( STRING_6 ) ; } query = query . replace ( STRING_7 , " " ) ; java . lang . String [ ] IDENT_1 = query . split ( " " ) ; java . util . List < java . lang . String > IDENT_2 = new java . util . ArrayList ( ) ; for ( java . lang . String IDENT_3 : IDENT_1 ) { if ( ( IDENT_3 . trim ( ) . length ( ) ) > 0 ) { IDENT_2 . add ( IDENT_3 ) ; } } return IDENT_2 . toArray ( new java . lang . String [ 0 ] ) ; }
org . junit . Assert . assertArrayEquals ( expected , actual )