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