HerdRestControllerAdvice extends HerdErrorInformationExceptionHandler implements InitializingBean { @Override public void afterPropertiesSet() throws Exception { setLoggingEnabled(true); }  @Override void afterPropertiesSet();  }
@Test public void testIsLoggingEnabled() throws Exception { herdRestControllerAdvice.afterPropertiesSet(); assertTrue(herdRestControllerAdvice.isLoggingEnabled()); }