### Question:
WebHookPayloadJson extends WebHookPayloadGeneric implements WebHookPayload { public String getCharset() { return this.charset; } WebHookPayloadJson(WebHookPayloadManager manager, WebHookVariableResolverManager variableResolverManager); void register(); String getFormatDescription(); String getFormatShortName(); String getFormatToolTipText(); String getContentType(); Integer getRank(); void setRank(Integer rank); String getCharset(); @Override WebHookStringRenderer getWebHookStringRenderer(); @Override PayloadTemplateEngineType getTemplateEngineType(); static final String FORMAT_SHORT_NAME; }### Answer:
@Test public void testGetCharset() { WebHookPayloadJson whp = new WebHookPayloadJson(null, variableResolverManager); assertTrue(whp.getCharset().equals("UTF-8".toString())); }