### Question:
App { public void invokeWithoutRetrySupport() throws Exception { LOG.info("Running WITHOUT RETRY"); retryTemplate.execute(new RetryCallback<Double>() { public Double doWithRetry( RetryContext arg0 ) throws Exception { LOG.info("\tRetry count -> {} ", arg0.getRetryCount()); return retryMethods.doRetryNotSupported(); } }); }  void invokeWithRetrySupport(); void invokeWithoutRetrySupport();  }### Answer:
@Test(expected=NumberFormatException.class) public void testRetryNotSupported() throws Exception { for(int i=0;i<2;i++) { new App().invokeWithoutRetrySupport(); } }