}
@Test
public void testDoCollectRawFromCompressed() throws Throwable {
CollectingProjector projector = getObjects(tmpFileGz.getAbsolutePath(), "gzip");
assertCorrectResult(projector.result().get());
}
private void assertCorrectResult(Object[][] rows) throws Throwable {
assertThat(((BytesRef)rows[0][0]).utf8ToString(), is(
"{\"name\": \"Arthur\", \"id\": 4, \"details\": {\"age\": 38}}"));