### Question:
ByteArray { public final byte[] getBytes() { return bytes; } ByteArray(byte[] bytes); static ByteArray from(String hex); final String toHexString(); final String toHexString(boolean withPrefix); final byte[] getBytes(); @Override String toString(); @Override final int hashCode(); @Override final boolean equals(Object o);  }### Answer:
@Test public void getBytes() { assertThat(byteArray.getBytes(), is(bytes)); }