@Test
void testUnsupportedRecordTypesThrow() {

    assertThrows(HdfException.class, () -> BTreeRecord.readRecord(0, null, null));
    assertThrows(UnsupportedHdfException.class, () -> BTreeRecord.readRecord(2, null, null));
    assertThrows(UnsupportedHdfException.class, () -> BTreeRecord.readRecord(3, null, null));
    assertThrows(UnsupportedHdfException.class, () -> BTreeRecord.readRecord(4, null, null));
    assertThrows(UnsupportedHdfException.class, () -> BTreeRecord.readRecord(6, null, null));
    assertThrows(UnsupportedHdfException.class, () -> BTreeRecord.readRecord(7, null, null));
    assertThrows(UnsupportedHdfException.class, () -> BTreeRecord.readRecord(9, null, null));
}