### Question:
HasherHash implements StatefulHash { @Override public byte[] getBytes() { return getHashCode().asBytes(); } HasherHash(HashFunction function, String algorithm); @Override String algorithm(); @Override int length(); @Override boolean supportsUnsafe(); @Override StatefulHash createNew(); @Override boolean supportsIncremental(); @Override void reset(); @Override void update(byte[] input); @Override void update(byte[] input, int index, int length); @Override void update(ByteBuffer input); @Override void update(long address, long length); @Override byte[] getBytes(); @Override int getBytes(byte[] output, int index, int maxLength); @Override byte getByte(); @Override short getShort(); @Override int getInt(); @Override long getLong();  }### Answer:
@Test public void testGetBytes() { hash.update(DATA); assertArrayEquals(new BigInteger("5eb63bbbe01eeed093cb22bb8f5acdc3", 16).toByteArray(), hash.getBytes()); }