@Test
public void testReadArray_Long_EOF() throws Exception {

  assertThrows(EOFException.class, () -> {
    final JBBPBitInputStream in = new JBBPBitInputStream(new ByteArrayInputStream(new byte[] {1, 2, 3, 4, 5, 6, 7, 0, (byte) 0xFE, (byte) 0xCA, (byte) 0xBE, (byte) 0x01, 2, 3, 4, 5, 6, 7, 8, 9, 1, 2, 3, 4}));
    in.readLongArray(259, JBBPByteOrder.BIG_ENDIAN);
  });
}