### Question:
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();  }### Answer:
@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); }