### Question:
EncryptedChunkOrdering { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof EncryptedChunkOrdering)) { return false; } EncryptedChunkOrdering encryptedChunkOrdering = (EncryptedChunkOrdering) o; return Arrays.equals( mEncryptedChunkOrdering, encryptedChunkOrdering.mEncryptedChunkOrdering); } private  EncryptedChunkOrdering(byte[] encryptedChunkOrdering); static EncryptedChunkOrdering create(byte[] encryptedChunkOrdering); byte[] encryptedChunkOrdering(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void testEquals() { EncryptedChunkOrdering chunkOrdering1 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); EncryptedChunkOrdering equalChunkOrdering1 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_1); EncryptedChunkOrdering chunkOrdering2 = EncryptedChunkOrdering.create(TEST_BYTE_ARRAY_2); assertThat(chunkOrdering1).isEqualTo(equalChunkOrdering1); assertThat(chunkOrdering1).isNotEqualTo(chunkOrdering2); }