public void testEditSeps() throws Exception {
Analyzer a = new MockAnalyzer(random());
FuzzySuggester suggester = new FuzzySuggester(a, a, FuzzySuggester.PRESERVE_SEP, 2, -1, true, 2, true, 1, 3, false);
List<Input> keys = Arrays.asList(new Input[] {
new Input("foo bar", 40),
new Input("foo bar baz", 50),
new Input("barbaz", 60),
new Input("barbazfoo", 10),
});
Collections.shuffle(keys, random());
suggester.build(new InputArrayIterator(keys));