assertNumericContents(20, ts);
// pass a bogus stream and ensure its still ok
intField = new IntField("foo", 2343, Field.Store.NO);
TokenStream bogus = new CannedTokenStream(new Token("bogus", 0, 5));
ts = intField.tokenStream(null, bogus);
assertNotSame(bogus, ts);
assertNumericContents(2343, ts);
// pass another bogus stream (numeric, but different precision step!)
intField = new IntField("foo", 42, Field.Store.NO);