void () { final InputStream stream = SplitterTest.class.getResourceAsStream("contents.txt"); String text = convertStreamToString(stream); List<String> words = wordsToCheck(PlainTextSplitter.getInstance(), text); assertEquals(0, words.size()); }