public void shouldParseMultipleDocuments() throws Exception {
InputStream stream = getClass().getClassLoader().getResourceAsStream("json/multiple-json-files.txt");
DocumentSequence seq = reader.readMultiple(stream);
int count = 0;
while (true) {
Document doc = seq.nextDocument();
if (doc == null) break;
++count;
}
assertThat(count, is(265));
}