@Test void getValueShouldReturnCorrectPreviewString() { assertThat(new Preview(PREVIEW_RAW_VALUE).getValue()) .isEqualTo(PREVIEW_RAW_VALUE); }
public String getValue() { return value; }
Preview { public String getValue() { return value; } }
Preview { public String getValue() { return value; } @VisibleForTesting  Preview(String value); }
Preview { public String getValue() { return value; } @VisibleForTesting  Preview(String value); static Preview from(String value); static Preview compute(String textBody); String getValue(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); }
Preview { public String getValue() { return value; } @VisibleForTesting  Preview(String value); static Preview from(String value); static Preview compute(String textBody); String getValue(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override String toString(); static final Preview EMPTY; }