@Test void fromStringShouldThrowOnEmpty() { assertThatThrownBy(() -> BlobId.fromString("")) .isInstanceOf(IllegalArgumentException.class); }
public static BlobId fromString(String raw) { Preconditions.checkArgument(!Strings.isNullOrEmpty(raw)); return new BlobId(raw); }
BlobId { public static BlobId fromString(String raw) { Preconditions.checkArgument(!Strings.isNullOrEmpty(raw)); return new BlobId(raw); } }
BlobId { public static BlobId fromString(String raw) { Preconditions.checkArgument(!Strings.isNullOrEmpty(raw)); return new BlobId(raw); } private  BlobId(String id); }
BlobId { public static BlobId fromString(String raw) { Preconditions.checkArgument(!Strings.isNullOrEmpty(raw)); return new BlobId(raw); } private  BlobId(String id); static BlobId fromBytes(byte[] bytes); static BlobId fromString(String raw); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
BlobId { public static BlobId fromString(String raw) { Preconditions.checkArgument(!Strings.isNullOrEmpty(raw)); return new BlobId(raw); } private  BlobId(String id); static BlobId fromBytes(byte[] bytes); static BlobId fromString(String raw); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString();  }