public void testEncodeArrayLineBreak1() {
try {
CharArrayWriter writer = new CharArrayWriter();
char[] source = stringLineBreak.toCharArray();
HTMLEncoder.encode(source, 0, source.length, true, writer);
assertEquals(stringLineBreakEncoded1.toCharArray(), writer.toCharArray());
} catch (IOException e) {
fail(e.getMessage());
}
}