@Test public void testMultilineIssueDescription() throws IOException, JSONException { final String json = MyIOUtils.getResourceAsString("issue_with_multiline_description.json"); final Issue issue = RedmineJSONParser.parseIssue(RedmineJSONParser.getResponseSingleObject(json, "issue")); Assert.assertEquals( "This is a description \nwith more than \n\n\none line.", issue.getDescription()); }