@Test void fromStringShouldThrowWhenEmpty() { assertThatThrownBy(() -> DocumentId.fromString("")) .isInstanceOf(IllegalArgumentException.class); }
public static DocumentId fromString(String value) { return new DocumentId(value); }
DocumentId { public static DocumentId fromString(String value) { return new DocumentId(value); } }
DocumentId { public static DocumentId fromString(String value) { return new DocumentId(value); } private  DocumentId(String value); }
DocumentId { public static DocumentId fromString(String value) { return new DocumentId(value); } private  DocumentId(String value); static DocumentId fromString(String value); String asString(); @Override final boolean equals(Object o); @Override final int hashCode(); }
DocumentId { public static DocumentId fromString(String value) { return new DocumentId(value); } private  DocumentId(String value); static DocumentId fromString(String value); String asString(); @Override final boolean equals(Object o); @Override final int hashCode();  }