LogSkippedItemListener implements SkipListener<Object, BatchExcelRow>, ItemProcessListener<Object, Object> { @Override public void onProcessError(Object item, Exception e) { }  @Override void onSkipInRead(Throwable t); @Override void onSkipInWrite(BatchExcelRow item, Throwable t); @Override void onSkipInProcess(Object item, Throwable t); @Override void beforeProcess(Object item); @Override void afterProcess(Object item, Object result); @Override void onProcessError(Object item, Exception e);  }
@Test public void testOnProcessError() throws Exception { listener.onProcessError(null, new Exception("foo")); Assert.assertTrue(appender.getEvents().isEmpty()); }