### Question:
App { public void invokeWithRetrySupport() { LOG.info("Running WITH RETRY"); try { retryTemplate.execute(new RetryCallback<Double>() { public Double doWithRetry( RetryContext arg0 ) throws Exception { LOG.info("\tRetry count -> {} ", arg0.getRetryCount()); return retryMethods.doRetrySupported(); } }); } catch ( Exception e ) { e.printStackTrace(); } }  void invokeWithRetrySupport(); void invokeWithoutRetrySupport();  }### Answer:
@Test public void testRetrySupported() throws Exception { for(int i=0;i<2;i++) { new App().invokeWithRetrySupport(); } }