@Test public void forPayloadShouldHashEmptyArray() { BlobId blobId = BLOB_ID_FACTORY.forPayload(new byte[0]); assertThat(blobId.asString()).isEqualTo("e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"); }
@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();  }