@Test
public void testReadArray_Short_EOF() throws Exception {

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