@Test void fromShouldThrowWhenNull() { assertThatThrownBy(() -> Cid.from(null)) .isInstanceOf(IllegalArgumentException.class); }
public static Cid from(String value) { return parser() .strict() .unwrap() .parse(value) .get(); }
Cid { public static Cid from(String value) { return parser() .strict() .unwrap() .parse(value) .get(); } }
Cid { public static Cid from(String value) { return parser() .strict() .unwrap() .parse(value) .get(); } private  Cid(String value); }
Cid { public static Cid from(String value) { return parser() .strict() .unwrap() .parse(value) .get(); } private  Cid(String value); static CidParser parser(); static Cid from(String value); String getValue(); @Override final boolean equals(Object obj); @Override final int hashCode(); }
Cid { public static Cid from(String value) { return parser() .strict() .unwrap() .parse(value) .get(); } private  Cid(String value); static CidParser parser(); static Cid from(String value); String getValue(); @Override final boolean equals(Object obj); @Override final int hashCode(); static final StrictCidValidator DEFAULT_VALIDATOR; }