@Test
  public void testOptimizationForByteShort() {
    int expectedLength = 2 + 1 + 2;
    writeReadAndVerifyOptimizedByteArray(ID_VALUE_BYTE, ID_VALUE_SHORT, expectedLength);
    writeReadAndVerifyOptimizedByteArray(ID_VALUE_SHORT, ID_VALUE_BYTE, expectedLength);
  }
Tests the eventId optimization APIs <code>EventID#getOptimizedByteArrayForEventID</code> and
<code>EventID#readEventIdPartsFromOptmizedByteArray</code> for byte-short combinations for
threadId and sequenceId values.
geode-core/src/test/java/org/apache/geode/internal/cache/ha/EventIdOptimizationJUnitTest.java