@Test void fromShouldThrowWhenBlobIdIsNull() { BlobId value = null; assertThatThrownBy(() -> AttachmentId.from(value)).isInstanceOf(NullPointerException.class); }
public static AttachmentId from(BlobId blobId) { return new AttachmentId(blobId.asString()); }
AttachmentId { public static AttachmentId from(BlobId blobId) { return new AttachmentId(blobId.asString()); } }
AttachmentId { public static AttachmentId from(BlobId blobId) { return new AttachmentId(blobId.asString()); } private  AttachmentId(String id); }
AttachmentId { public static AttachmentId from(BlobId blobId) { return new AttachmentId(blobId.asString()); } private  AttachmentId(String id); static AttachmentId from(BlobId blobId); static AttachmentId random(); static AttachmentId from(String id); String getId(); UUID asUUID(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
AttachmentId { public static AttachmentId from(BlobId blobId) { return new AttachmentId(blobId.asString()); } private  AttachmentId(String id); static AttachmentId from(BlobId blobId); static AttachmentId random(); static AttachmentId from(String id); String getId(); UUID asUUID(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); static final RandomStringGenerator RANDOM_STRING_GENERATOR; }