@Test public void forPayloadShouldHashArray() { BlobId blobId = BLOB_ID_FACTORY.forPayload("content".getBytes(StandardCharsets.UTF_8)); assertThat(blobId.asString()).isEqualTo("ed7002b439e9ac845f22357d822bac1444730fbdb6016d3ec9432297b9ec9f73"); }
@Override public String asString() { return id; }
HashBlobId implements BlobId { @Override public String asString() { return id; } }
HashBlobId implements BlobId { @Override public String asString() { return id; } @VisibleForTesting  HashBlobId(String id); }
HashBlobId implements BlobId { @Override public String asString() { return id; } @VisibleForTesting  HashBlobId(String id); @Override String asString(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString(); }
HashBlobId implements BlobId { @Override public String asString() { return id; } @VisibleForTesting  HashBlobId(String id); @Override String asString(); @Override final boolean equals(Object obj); @Override final int hashCode(); @Override String toString();  }