ParsingHistoneProcessingExceptionProcessor extends HistoneProcessingExceptionProcessor { @Override protected boolean supports(Class<? extends Exception> type) { return ParserException.class.isAssignableFrom(type); }    }
@Test public void testSupports_supported() throws Exception { assertTrue(postProcessor.supports(ParserException.class)); }
@Test public void testSupports_not_supported() throws Exception { assertFalse(postProcessor.supports(Exception.class)); }