### Question:
IntegerUuid { public byte[] getBytes() { return Arrays.copyOf(uuid, UUIDSIZE); } IntegerUuid();  IntegerUuid(final byte[] bytes);  IntegerUuid(final int value);  IntegerUuid(final String idsource); @Override String toString(); byte[] getBytes(); long getTimestamp(); @Override boolean equals(final Object o); @Override int hashCode(); int getInt();  }### Answer:
@Test public void testGetBytesImmutability() { IntegerUuid id = new IntegerUuid(); byte[] bytes = id.getBytes(); byte[] original = Arrays.copyOf(bytes, bytes.length); bytes[0] = 0; bytes[1] = 0; bytes[2] = 0; assertArrayEquals(id.getBytes(), original); }
@Test public void testConstructorImmutability() { IntegerUuid id = new IntegerUuid(); byte[] bytes = id.getBytes(); byte[] original = Arrays.copyOf(bytes, bytes.length); IntegerUuid id2 = new IntegerUuid(bytes); bytes[0] = 0; bytes[1] = 0; assertArrayEquals(id2.getBytes(), original); }