StructuredBlobStorage { public void put(Prefix prefix, String name, String content, Retention retention) { blobStorage.put(getFullName(prefix, name), content, retention); }  Optional<String> getString(Prefix prefix, String name); void put(Prefix prefix, String name, String content, Retention retention);  }
@Test public void testRetention() { structuredBlobStorage.put(POLLABLE_TASK, "testretention", "testrentention-content", Retention.MIN_1_DAY); Mockito.verify(blobStorage).put("pollable_task/testretention", "testrentention-content", Retention.MIN_1_DAY); }