@Test public void testDocuments() { Locale fromLocale = new Locale(LocaleCode.EN_US, "English US"); Locale toLocale = new Locale(LocaleCode.DE, "German"); Document doc = new Document("http: fromLocale, toLocale); TextFlow tf = new TextFlow(doc, "old content", fromLocale); assertThat(tf.getDocument()).isEqualTo(doc); }
public Document getDocument() { return document; }
TextFlow extends ModelEntity { public Document getDocument() { return document; } }
TextFlow extends ModelEntity { public Document getDocument() { return document; } TextFlow();  TextFlow(Document document, String content, Locale locale); }
TextFlow extends ModelEntity { public Document getDocument() { return document; } TextFlow();  TextFlow(Document document, String content, Locale locale); void setContent(String content); String getContentHash(); Locale getLocale(); String getContent(); List<TextFlowTarget> getTargets(); Document getDocument(); Long getWordCount(); Long getCharCount(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString(); }
TextFlow extends ModelEntity { public Document getDocument() { return document; } TextFlow();  TextFlow(Document document, String content, Locale locale); void setContent(String content); String getContentHash(); Locale getLocale(); String getContent(); List<TextFlowTarget> getTargets(); Document getDocument(); Long getWordCount(); Long getCharCount(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); @Override String toString();  }