@Test
public void testInvoke02() throws Throwable {

    // テスト準備
    MethodInvocation mockMethodInvocation = mock(MethodInvocation.class);
    RecoverableDataAccessException recoverableDataAccessException = new RecoverableDataAccessException(null);
    // テスト実行
    // 検証
    try {
        when(mockMethodInvocation.proceed()).thenThrow(
                recoverableDataAccessException);
        adminConnectionRetryInterceptor.invoke(mockMethodInvocation);
        fail();
    } catch (DataAccessException e) {
        assertSame(recoverableDataAccessException, e);
    }
    assertEquals(Level.ERROR, logger.getLoggingEvents().get(0).getLevel());
    assertEquals(
            "[EAL025063] Connection retry count exceeded limit. maxRetryCount:0",
            logger.getLoggingEvents().get(0).getMessage());
}