@Test void buildShouldThrowOnMissingContentType() { assertThatThrownBy(() -> Blob.builder() .id(ID) .payload(PAYLOAD) .build()) .isInstanceOf(IllegalStateException.class); }
public static Builder builder() { return new Builder(); }
Blob { public static Builder builder() { return new Builder(); } }
Blob { public static Builder builder() { return new Builder(); } @VisibleForTesting  Blob(BlobId blobId, InputStreamSupplier payload, ContentType contentType, long size); }
Blob { public static Builder builder() { return new Builder(); } @VisibleForTesting  Blob(BlobId blobId, InputStreamSupplier payload, ContentType contentType, long size); static Builder builder(); BlobId getBlobId(); InputStream getStream(); long getSize(); ContentType getContentType(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
Blob { public static Builder builder() { return new Builder(); } @VisibleForTesting  Blob(BlobId blobId, InputStreamSupplier payload, ContentType contentType, long size); static Builder builder(); BlobId getBlobId(); InputStream getStream(); long getSize(); ContentType getContentType(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }