public static <T> FileRecords<T> forRecords(
            final String splitId, final BulkFormat.RecordIterator<T> recordsForSplit) {
        return new FileRecords<>(splitId, recordsForSplit, Collections.emptySet());
    }
@Test
    void testRecordsInitiallyIllegal() {
        final FileRecords<Object> records =
                FileRecords.forRecords("splitId", new SingletonResultIterator<>());

        assertThatThrownBy(records::nextRecordFromSplit).isInstanceOf(IllegalStateException.class);
    }