Created
October 10, 2016 19:41
-
-
Save alebaffa/4025183999f4bdb8ceaace14798149ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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