@Test public void testaddRetryTaskIsPersistent() { retryService.addRetryTask(NOT_EXISTED_KEY, retryObject); RetryObject value = persistenceService.getFromBDB(NOT_EXISTED_KEY); Assert.assertTrue(RetryUtils.equals(retryObject, value)); System.out.println(value); }
public void addRetryTask(String key, RetryObject retryObject) { }
RetryService { public void addRetryTask(String key, RetryObject retryObject) { } }
RetryService { public void addRetryTask(String key, RetryObject retryObject) { } RetryService(Retryable retryable, String namespace); }
RetryService { public void addRetryTask(String key, RetryObject retryObject) { } RetryService(Retryable retryable, String namespace); static String combinePath(String namespace); void addRetryTask(String key, RetryObject retryObject); boolean close(); }
RetryService { public void addRetryTask(String key, RetryObject retryObject) { } RetryService(Retryable retryable, String namespace); static String combinePath(String namespace); void addRetryTask(String key, RetryObject retryObject); boolean close();  }