@Test(expected=RuntimeException.class)
public void testRetryThrowableWithoutRecovery() throws Throwable {

    org.springframework.retry.support.RetryTemplate template =
            new org.springframework.retry.support.RetryTemplate();
    Map<Class<? extends Throwable>, Boolean> exceptionMap = new HashMap<Class<? extends Throwable>, Boolean>();
    exceptionMap.put(RuntimeException.class, Boolean.TRUE);
    template.setRetryPolicy(new SimpleRetryPolicy(1, exceptionMap));
    Mockito.doReturn(template).when(beanFactory)
            .getBean(TEST_RETRY_TEMPLATE, org.springframework.retry.support.RetryTemplate.class);
    Mockito.doReturn(null).when(beanFactory)
            .getBean(TEST_RETRY_TEMPLATE_RECOVERY, RecoveryCallback.class);
    Mockito.doThrow(new Throwable("")).when(mockPjp).proceed();
    try {
        aspect.retry(mockPjp, mockAnnotation);
    }
    finally {
        Mockito.verify(mockPjp, Mockito.times(1)).proceed();
    }
}