assertEquals(FRENCH_ACCENTS, encodedAccents);
verifyCommonAssertions(encoder);
}
public void test2UTF16() throws Exception {
XMLEncoder encoder = XMLEncoderFactory.getEncoder(XMLEncoderFactory.ENCODING_UTF_16);
String encodedAccents = encoder.encode(FRENCH_ACCENTS);
assertEquals(XMLEncoderFactory.ENCODING_UTF_16, encoder.getEncoding());
assertEquals(FRENCH_ACCENTS, encodedAccents);
//verifyCommonAssertions(encoder);
}