private static String getSampleWithLineBreak(){
        StringBuilder sb = new StringBuilder();
        sb.append("[");
        for(int i = 1; i < 4; i++){
            sb.append(getTypicalElement(i));
            sb.append(",");
        }
        sb.append("{\"id\" : 4," +
                "\"author\" : \"With line\\n break\"," + //FIXME this line break is doubled - is this correct??
                "\"title\" : \"Book title 4\"," +
                "\"publish_date\" : \"2010-05-26\"" +
                "},");
        sb.append(getTypicalElement(5));
        sb.append(",");
        sb.append(getTypicalElement(6));
        sb.append("]");
        return sb.toString();
    }
private static String getSampleWithLineBreak(){
        StringBuilder sb = new StringBuilder();
        sb.append("[");
        for(int i = 1; i < 4; i++){
            sb.append(getTypicalElement(i));
            sb.append(",");
        }
        sb.append("{\"id\" : 4," +
                "\"author\" : \"With line\\n break\"," +
                "\"title\" : \"Book title 4\"," +
                "\"publish_date\" : \"2010-05-26\"" +
                "},");
        sb.append(getTypicalElement(5));
        sb.append(",");
        sb.append(getTypicalElement(6));
        sb.append("]");
        return sb.toString();
    }
private static string getsamplewithlinebreak(){ stringbuilder sb = new stringbuilder(); sb.append("["); for(int i = 1; i < 4; i++){ sb.append(gettypicalelement(i)); sb.append(","); } sb.append("{\"id\" : 4," + "\"author\" : \"with line\\n break\"," + "\"title\" : \"book title 4\"," + "\"publish_date\" : \"2010-05-26\"" + "},"); sb.append(gettypicalelement(5)); sb.append(","); sb.append(gettypicalelement(6)); sb.append("]"); return sb.tostring(); }