Skip to content

Instantly share code, notes, and snippets.

@alebaffa
Created October 10, 2016 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alebaffa/4025183999f4bdb8ceaace14798149ce to your computer and use it in GitHub Desktop.
Save alebaffa/4025183999f4bdb8ceaace14798149ce to your computer and use it in GitHub Desktop.
@Test
public void should_return_the_string_converted() throws IOException {
HtmlTextConverter converter = new HtmlTextConverter("");
Reader stringReader = new StringReader("foo");
assertThat(converter.convertToHtml(stringReader), is("foo<br />"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment