@Test
void testEquals() {

    final UID uid1 = UID.of(getNewUidBuffer(), 0, 0, 0, 5);
    // Compare two buffers of different capacities
    final ByteBuffer byteBuffer = getNewUidBuffer();
    UID uid2 = UID.of(5, byteBuffer);
    LOGGER.info("uid1: {}", uid1);
    LOGGER.info("uid2: {}", uid2);
    Assertions.assertThat(uid2.getBackingBuffer())
            .isEqualByComparingTo(uid1.getBackingBuffer());
    Assertions.assertThat(uid2)
            .isEqualTo(uid1);
}