@Test
void getPartialBytes() throws SQLException {

    final int startIndex = 2;
    final int endIndex = BYTES.length - 4;
    byte[] expected = Arrays.copyOfRange(BYTES, startIndex, endIndex);
    byte[] actual = standardBlob.getBytes(startIndex + 1, endIndex - startIndex);
    assertArrayEquals(expected, actual);
}