HexSequenceConfiguredReplacementSource extends AbstractReplacementSource { public void setCharset(String charset) { this.charset = charset; } HexSequenceConfiguredReplacementSource();  HexSequenceConfiguredReplacementSource(String charset);  HexSequenceConfiguredReplacementSource(String value, String charset); String obtainValue(AdaptrisMessage msg); String getCharset(); void setCharset(String charset);  }
@Test public void testSetCharset() throws Exception { HexSequenceConfiguredReplacementSource service = new HexSequenceConfiguredReplacementSource(); assertNull(service.getCharset()); service.setCharset("UTF-8"); assertEquals("UTF-8", service.getCharset()); }