public void getSampleOutputAllOutputMoreThanMaxRows() throws Exception {
final String schema = "{blah: chararray}";
int recordCount = 10;
int byteCount = 1024;
final InterStorage is = getInterStorage(createRecords(recordCount));
List<SampleOutput> outputs = getSampleOutputs(is, schema, recordCount, byteCount);
Assert.assertEquals(outputs.get(0).getOutput().split("\n").length, recordCount);
Assert.assertTrue(outputs.get(0).getOutput().length() <= byteCount);
Assert.assertEquals(outputs.get(0).getSchema(), schema);