@Override
    public Collection<String> split(String in) {
        String text = in.replaceAll("\\r?\\n", " ");
        return Arrays.asList(StringUtils.split(text));
    }
@Test
    public void testSplit() {
        Collection<String> split = wordSplitStrategy.split("Hello World\n Foo Bar");
        assertEquals(4, split.size());
        assertEquals("Bar", new ArrayList<>(split).get(3));
    }