### Question:
PlaintextMessageRenderer implements FXMessageRenderer { @Override public TextFlow render(String prefixAlias, String dropPayload, ResourceBundle resourceBundle) { TextFlow flow = new TextFlow(); flow.getChildren().setAll(renderTextFlowElements(prefixAlias, renderString(dropPayload, resourceBundle))); return flow; } PlaintextMessageRenderer(); @Override TextFlow render(String prefixAlias, String dropPayload, ResourceBundle resourceBundle); @Override String renderString(String dropPayload, ResourceBundle resourceBundle); HyperlinkRenderer getHyperlinkRenderer();  }### Answer:
@Test public void rendersMessageNode() { TextFlow node = renderer.render("alias", payload, QabelFXMLView.getDefaultResourceBundle()); assertEquals("content", ((Text)node.getChildren().get(1)).getText()); }
@Test public void rendersNodes() { TextFlow flow = renderer.render("alias", createPayload("contains http: assertThat(flow.getChildren().size(), equalTo(3)); assertThat(flow.getChildren().get(2), instanceOf(Hyperlink.class)); }