@Test
public void testBootstrapShouldLogAnyNonWilmaSpecificException() {

    //GIVEN
    given(applicationContext.getBean(WilmaEngine.class)).willThrow(beanCreationException);
    given(beanCreationException.getMostSpecificCause()).willReturn(schedulingCannotBeStartedException);
    given(beanCreationException.contains(RuntimeException.class)).willReturn(true);
    given(systemExceptionSelector.getSystemException(beanCreationException)).willReturn(null);
    given(beanCreationException.getCause()).willReturn(null);
    //WHEN
    underTest.bootstrap();
    //THEN
    verify(systemExceptionSelector).getSystemException(beanCreationException);
    verify(logger).error(WILMA_CANNOT_BE_STARTED_ERROR_MSG, beanCreationException);
}