@Test
public void testGetCharsetDecoder() {

	CharsetDecoder charsetDecoder = CharsetDecoderUtil.getCharsetDecoder(
		"UTF-8");
	Assert.assertEquals(Charset.forName("UTF-8"), charsetDecoder.charset());
	Assert.assertSame(
		CodingErrorAction.REPLACE, charsetDecoder.malformedInputAction());
	Assert.assertSame(
		CodingErrorAction.REPLACE,
		charsetDecoder.unmappableCharacterAction());
}