WechatJobErrorHandler implements JobErrorHandler { @Override public String getType() { return "WECHAT"; } WechatJobErrorHandler(); @Override void handleException(final String jobName, final Throwable cause); @Override String getType();  }
@Test public void assertGetType() { WechatJobErrorHandler actual = getWechatJobErrorHandler(); assertThat(actual.getType(), is("WECHAT")); }