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