public void testHugeDoc() throws IOException {
  StringBuilder sb=new StringBuilder();
  char whitespace[]=new char[4094];
  Arrays.fill(whitespace,'\n');
  sb.append(whitespace);
  sb.append("testing 1234");
  String input=sb.toString();
  assertAnalyzesTo(sentenceAndWord,input,new String[]{"testing","1234"});
}

public void testHugeDoc ( ) throws IOException { StringBuilder sb = new StringBuilder ( ) ; char whitespace [ ] = new char [ 4094 ] ; Arrays . fill ( whitespace , '\n' ) ; sb . append ( whitespace ) ; sb . append ( "testing 1234" ) ; String input = sb . toString ( ) ; assertAnalyzesTo ( sentenceAndWord , input , new String [ ] { "testing" , "1234" } ) ; }
tests terms which span across boundaries
